[dspam-users] Dspam + cyrus-imap errors
Wesley Craig
wes at umich.edu
Wed Sep 7 10:54:21 EDT 2005
On 21 Aug 2005, at 10:09, Andreas Hasenack wrote:
> Anybody here got this?
It's right here:
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2676
However, the search in Bugzilla is, um, less than desirable?
:wes
> ---------- Mensagem reenviada ----------
>
> Subject: Re: [dspam-users] Dspam + cyrus-imap errors
> Date: Quinta 18 Agosto 2005 16:13
> From: gelle at umich.edu
> To: tommy at bucknet.co.za
> Cc: dspam-users at lists.nuclearelephant.com
>
> We had the same thing. It's a bug in cyrus (off by one) so when they
> read their own null from the buffer they complain the message has a
> null. We patched it. We also sent the patch into cyrus.
>
> dspam unwraps wrapped text in html or 'rich text' parts of messages to
> tokenize. This leads to long lines that exceed the size of the buffer
> and exercise the bug.
>
> There is a question of dspam design, and whether it might be ideal to
> work on a copy of the message and then send out the original with only
> the tags inserted (if body sig is on), but the cyrus thing is
> definitely a bug.
>
> --- cyrus-imapd-2.2.12/imap/spool.c 2004-10-27 16:40:50.000000000
> -0400
> +++ cyrus-imapd-2.2.12p10/imap/spool.c 2005-05-27 17:25:09.000000000
> -0400
> @@ -451,9 +455,9 @@
> p[1] = '\n';
> p[2] = '\0';
> }
> - else if (p[0] != '\n' && (strlen(buf) < sizeof(buf)-2)) {
> + else if (p[0] != '\n' && (strlen(buf) < sizeof(buf)-3)) {
> /* line contained a \0 not at the end */
> r = IMAP_MESSAGE_CONTAINSNULL;
> continue;
> }
>
> On Aug 18, 2005, at 5:16 AM, Tommy Papangeli wrote:
>> I have some serious errors when running Cyrus-imap(2.2.12) with
>> dspam(3.4.6) , some emails bounce with a "Message contains invalid
>> header", I think i have tried everything possible. If I bypass dspam
>> then those mail pass through fine.
More information about the Cyrus-devel
mailing list