[Dovecot] >From escaping

Mark E. Mallett mem at mv.mv.com
Tue Oct 5 16:59:38 EEST 2004


On Tue, Oct 05, 2004 at 01:50:35PM +0300, Timo Sirainen wrote:
> On 5.10.2004, at 13:02, Dean Earley wrote:
> 
> >Is there an option in dovecot to remove the >From escaping in the body 
> >of
> >mbox mails?
> 
> No. I guess it would be possible to create >From-removing stream on top 
> of raw-mbox-stream, but it would make the code slower and I don't think 
> it's worth the trouble. Also when Dovecot saves messages to mbox, it 
> doesn't do From-quoting. If the >From-removing was done, Dovecot would 
> also have to do From-quoting to keep the behaviour consistent..

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.

mm



More information about the dovecot mailing list