[Dovecot] antispam-plugin 1.2 and trailing carriage-returns

Timo Sirainen tss at iki.fi
Wed Oct 28 09:07:01 EET 2009


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.



More information about the dovecot mailing list