[Dovecot] antispam-plugin 1.2 and trailing carriage-returns
Johannes Berg
johannes at sipsolutions.net
Wed Oct 28 09:12:21 EET 2009
On Wed, 2009-10-28 at 03:07 -0400, Timo Sirainen wrote:
> On Oct 28, 2009, at 3:02 AM, Johannes Berg wrote:
>
> >> 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().
> >
> > I'm not sure this is what we want -- shouldn't we keep it as
> > pristine as
> > possible?
>
> The linefeeds don't really matter much. For example IMAP and SMTP
> require sending CRLF linefeeds and Dovecot always converts them to
> just LFs before saving the messages. Then depending on how the input
> comes, it may have CRLF or LF linefeeds.
Indeed. But I think Karsten is saying that his mail comes with CRLF via
SMTP, and is seen by SA with CRLF, and then when it comes back to SA via
antispam, it now has just LF. In a sense, dovecot is normalising
linefeeds to LF, which seems to be causing him problems.
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091028/ce51a3d3/attachment.bin
More information about the dovecot
mailing list