[Dovecot] antispam-plugin 1.2 and trailing carriage-returns
Timo Sirainen
tss at iki.fi
Wed Oct 28 01:28:50 EET 2009
On Tue, 2009-09-01 at 22:20 +0200, Karsten Bräckelmann wrote:
> The mail that is being trained is different than its respective source
> in the mbox file. The trained one shows added, trailing carriage-return
> chars for all headers, which are not in the headers in the mbox file.
>
> This breaks sa-learn -- both these variations are different, and SA
> would learn *both* when run against each one separately.
>
> How comes? Any insight?
Probably because incoming mails have CRLF linefeeds. Antispam plugin
could drop these by wrapping the mail_get_stream()'s returned input
stream to i_stream_create_lf().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091027/25a9a429/attachment.bin
More information about the dovecot
mailing list