[Pkg-roundcube-maintainers] Bug#599586: BAD HEADER SECTION when sending attachment from roundcube, processed by amavisd-new (amavis)

Jort Koopmans jort.koopmans at gmail.com
Sat Oct 9 11:36:53 UTC 2010


Hello Vincent,

On Sat, 2010-10-09 at 11:24 +0200, Vincent Bernat wrote:
> clone 595204 -1
> retitle -1 BAD HEADER SECTION with amavis
> reopen -1
> found -1 0.3.1-5
> thanks
> 
> OoO En cette matinée pluvieuse  du vendredi 08 octobre 2010, vers
10:37,
> Jort Koopmans <jort.koopmans at gmail.com> disait :
> 
> >> > Delivered-To: bad-header-quarantine
> 
> >> > X-Envelope-From: <EMAILADDY at DOM.COM>
> >> > X-Envelope-To: <EMAILADDY at DOM.COM>
> >> > X-Envelope-To-Blocked: 
> >> > X-Quarantine-ID: <qr5mFt35ESxD>
> >> > X-Amavis-Alert: BAD HEADER SECTION Improper use of control
character
> >> > (char 0D
> >> > 	hex): Content-Type: ...eb64d5fa4fdc3040d561170";\r\n
> >> > 	boundary="=_4[...]
> >> 
> >> In fact,  the ticket that you  mentionned previously was  not about
this
> >> bug. I think your bug is here:
> >> http://trac.roundcube.net/ticket/1486418
> 
> > The BAD HEADER SECTION is the same as I had from my first post and
does
> > not look like the PHP bug, while that has "X-PHP-Originating-Script:
> > 0:func.inc\r" added (not in my case)
> 
> > I use PHP 5.2.6.dfsg.1-1+lenny9 (stable). Bug 1486418 seems related
to
> > php 5.2.3, so not likely to be the cause. mail.add_x_header is not
> > implemented in this version.
> > Tested the proposed step at followup 11 
> > ($headers['Subject'] = mb_encode_mimeheader($headers['Subject'],
> > $message_charset, 'Q', $RCMAIL->config->header_delimiter(), 8);
> > )
> > No success unfortunately.
> 
> OK.  This bug  seems quite  different from  the one  that  you
initially
> reported (which  was a  bad received  header and which  is fixed  by
the
> patch you have found). 

I agree, it was fixed by the patch. Something else is going wrong...

> I need to look a bit what is this new bug. It may
> have been introduced by the new dependency on php-mail-mime 1.7.0.
Which
> version of php-mail-mime do you have on your system?

On all systems I run version 1.8.0-2 (from squeeze repository).
Thanks again for all your efforts in troubleshooting this bug, if you
need any more info or I need to test some code for you, let me know,
i'll always help out. Have you been able to reproduce the problem or is
it just me? :P

Best regards,
Jort Koopmans






More information about the Pkg-roundcube-maintainers mailing list