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