[Pkg-roundcube-maintainers] Bug#599586: BAD HEADER by amavisd-new when sending attachment from roundcube
jort.koopmans at gmail.com
Sun Oct 10 10:46:12 UTC 2010
On Sun, 2010-10-10 at 09:59 +0200, Vincent Bernat wrote:
> OoO En cette matinée ensoleillée du dimanche 10 octobre 2010, vers
> 09:51, je disais:
> >> - Debian Lenny for most part (php5, apache, postfix)
> >> - Amavisd-new from Squeeze (since they tend to have better filtering)
> >> - Roundcube with all needed updated dependencies
> > I have tested with roundcube from squeeze sending mail to an amavisd
> > from lenny. I do not get a BAD HEADER SECTION. However, the Content-Type
> > header contains the boundary twice. It think this may be related. Could
> > you check what Content-Type do you get in your quarantined message?
Thats a double indeed i'd say.
> I have tried with an older version of php-mail-mime and the duplicate
> boundary is gone. Could you try to copy mime.php and mimePart.php from
> php-mail-mime 1.5.3 to /usr/share/php/Mail and try again if you still
> get the message from Amavis?
Good news, indeed this fixes the problem! No more BAD HEADER section.
Reinstalling php-mail-mime brings it back to the bad headers, so these 2
files are indeed responsible. I dont have much time today anymore, but
will look into it further tomorrow! Let's find out whats changed from
1.5.3 to 1.8.0 in those files :)...
More information about the Pkg-roundcube-maintainers