[Dovecot] maildir and end-of-line encoding

Timo Sirainen tss at iki.fi
Wed Nov 7 17:33:43 EET 2012


On 31.10.2012, at 3.50, Christoph Anton Mitterer wrote:

> I just wondered, the following:
> 
> My MDA may get mails that use LF or CR/LF end of line encodings and
> deliver them into maildirs.
> 
> 
> I couldn't find any information about, whether one should or must
> convert all into one format, cause AFAIK at least on the IMAP side,
> CR/LF is always used?
> 
> How does this work on the maildir/backend side of dovcot? Can it work
> with both and simply automatically convert LF into CR/LF?

Dovecot automatically adds CRs where necessary. Even within the same file there can be mixed LF/CRLF lines.




More information about the dovecot mailing list