[Pkg-roundcube-maintainers] Bug#603489: roundcube: BAD HEADER section by Amavis when using long mail subject

Vincent Bernat bernat at debian.org
Sun Nov 14 18:12:29 UTC 2010


OoO  Lors de  la soirée  naissante du  dimanche 14  novembre  2010, vers
17:52, Jort Koopmans <jort.koopmans at gmail.com> disait :


> Hello again ;),
> I've found a minor bug in the mail headers created by roundcube (or
> the handling of them by Amavis).
> When using a long subject, roundcube cuts them up in two lines,
> breaking the handling by Amavis.

> Example

> Subject: test test test test test test test test test test test test test test test test
> gives
> X-Amavis-Alert: BAD HEADER SECTION, Improper use of control character
> (char 0D hex): Subject: ...test test test test test test test test\r\n
> test

> I'm not sure if there are any standards (rfc's) needed to be
> considered for the mail-headers.

This  is likely  to be  the same  bug as  before. Could  you try  to set
$rcmail_config['mail_header_delimiter'] to '\n' in main.inc.php to check
if this  solves your problem. I suppose  that there is a  drawback to do
this.
-- 
panic("Oh boy, that early out of memory?");
	2.2.16 /usr/src/linux/arch/mips/mm/init.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20101114/31354368/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list