Bug#595204: Problem not solved in 0.3.1-5?
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 disait : >> > Delivered-To: bad-header-quarantine >> > X-Envelope-From: >> > X-Envelope-To: >> > X-Envelope-To-Blocked: >> > X-Quarantine-ID: >> > 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 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? pgpSxEixcdCTD.pgp Description: PGP signature
Bug#595204: Problem not solved in 0.3.1-5?
On Fri, 2010-10-08 at 10:37 +0200, Jort Koopmans wrote: > 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. Typo; Bug 1486418 seems related to php 5.3.0, so not likely to be the cause. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#595204: Problem not solved in 0.3.1-5?
On Fri, 2010-10-08 at 09:21 +0200, Vincent Bernat wrote: > OoO En cette nuit striée d'éclairs du vendredi 08 octobre 2010, vers > > --- > > Delivered-To: bad-header-quarantine > > X-Envelope-From: > > X-Envelope-To: > > X-Envelope-To-Blocked: > > X-Quarantine-ID: > > 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. Best regards, Jort Koopmans -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#595204: Problem not solved in 0.3.1-5?
OoO En cette nuit striée d'éclairs du vendredi 08 octobre 2010, vers 02:50, Jort Koopmans disait : > On Wed, 2010-10-06 at 19:58 +0200, Vincent Bernat wrote: >> What header does Roundcube add for you? > Note this only happens when sending attachments from Roundcube. > Specific snippet from header (this is from the quarantine mail, but > localhost mail is equal, except for Delivered-To); > --- > Delivered-To: bad-header-quarantine > X-Envelope-From: > X-Envelope-To: > X-Envelope-To-Blocked: > X-Quarantine-ID: > 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 This seems a bug in PHP, hence my inability to reproduce it. There is a workaround in the ticket but it applies to PHP. Tell me if it works for you. -- Don't stop at one bug. - The Elements of Programming Style (Kernighan & Plauger) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#595204: Problem not solved in 0.3.1-5?
OoO En ce début d'après-midi nuageux du mercredi 06 octobre 2010, vers 14:34, Jort Koopmans disait : > After updating to 0.3.1-5 the BAD HEADER messages returned (after my > manual fix). Is there something else changed within roundcube? I can > confirm that the /var/lib/roundcube/program/steps/mail/sendmail.inc does > contain the fix proposed from the trunk (see my first bugpost). > Have you tested 0.3.1-5 to work well with amavis/postfix? > To everybody else; can you confirm or deny correct header handling of > roundcube (when using attachments). > Thanks for your time and efforts in advance, keep up the good work! I have just tested again and I don't get a BAD_HEADER message from SpamAssassin. The added header is like this: Received: from localhost.localdomain ([127.0.0.1]) by localhost with HTTP (HTTP/1.1 POST); Wed, 06 Oct 2010 19:56:48 +0200 What header does Roundcube add for you? -- BOFH excuse #18: excess surge protection pgpDEB1fyxx3P.pgp Description: PGP signature
Bug#595204: Problem not solved in 0.3.1-5?
Dear Vincent Bernat, After updating to 0.3.1-5 the BAD HEADER messages returned (after my manual fix). Is there something else changed within roundcube? I can confirm that the /var/lib/roundcube/program/steps/mail/sendmail.inc does contain the fix proposed from the trunk (see my first bugpost). Have you tested 0.3.1-5 to work well with amavis/postfix? To everybody else; can you confirm or deny correct header handling of roundcube (when using attachments). Thanks for your time and efforts in advance, keep up the good work! Best regards, Jort Koopmans -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org