[Dovecot] >From escaping

Timo Sirainen tss at iki.fi
Tue Oct 5 17:13:36 EEST 2004


On 5.10.2004, at 16:59, Mark E. Mallett wrote:

> That's interesting-- I'd guess that email clients are not going to
> do the ">From" quoting unless they are reading/writing directly to
> the mbox themselves, and not when accessing IMAP/POP folders.  This
> would mean that an email client would see a potentially incorrect
> message, and could corrupt an mbox by sending (for copy/append)
> a message with missing quoting.  I would think that it would be the
> responsibility of the IMAP/POP server to maintain the mbox
> integrity (not to mention the correctness of the message).  But I
> can see where it would be a pain, for sure.

Dovecot (and eg. mutt) uses Content-Length header to figure out how 
large the message body is, so clients can't mess anything by sending 
From-lines. Also Dovecot requires that From-line has correct syntax and 
valid timestamp or it's not treated as From-line.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041005/418684ab/attachment-0001.bin>


More information about the dovecot mailing list