[Dovecot] Problem with Dovecot Delivery Agent, Extra "From" lines and mbox

Hokan hokan at me.umn.edu
Fri Apr 25 06:03:17 EEST 2008

On Fri, Apr 25, 2008 at 03:03:14AM +0300, Timo Sirainen wrote:
> On Wed, 2008-04-09 at 16:03 -0500, Hokan wrote:
> > When an mbox email contains a line that looks like a "Mail" header
> > it should be quoted (per RFC 4155). Sendmail's delivery agent does
> > this, as does Procmail delivery agent.  Dovecot deliver does not
> > do this.
> > 
> > Example line, with ">" quote:
> > >From hokan at hokan.org Thu Mar  8 17:28:01 2008
> > 
> > When reading email (IMAP) that contains such an unquoted line, the
> > email abruptly ends before the "Mail" line.  There may (or may not)
> > appear another email (visible to the client) that contains the rest 
> > of the email.
> Dovecot is supposed to use Content-Length: header to skip over the mail
> body so it wouldn't require From lines to be quoted. This used to work
> with v0.99, but it got broken at some point.
> I've also thought about quoting From line, and maybe I'll do that if I
> can't get Content-Length: to work properly. An annoying problem with the
> quoting is that it changes the mail content and breaks things like PGP
> signatures.
> Anyway this is in my "would be a nice fix for v1.1.0, but doesn't block
> a release" TODO category.

Thanks for the reply!

This is a big problem when it happens; very confusing for the end user.
But it seems to be a rare occurance.

More information about the dovecot mailing list