[Mimedefang] Writing to an MBOX file

Tomasz Ostrowski tometzky at batory.org.pl
Tue Mar 21 14:34:34 EST 2006

On Tue, 21 Mar 2006, Damrose, Mark wrote:

> > I think the From line needs a little bit more info. I ran 
> > into problems with a Mailman archive when I fed it to 
> > Dovecot, my IMAP server, because it didn't like the 
> > abbreviated From line. It thought the whole file was one big 
> > message. Looking at one of my mbox files, it appears that a 
> > datestamp is needed on the end of the line.
> If you're going to write it yourself, you also need to worry 
> about From_ quoting.
> See http://www.qmail.org/man/man5/mbox.html
> and http://homepages.tesco.net./~J.deBoynePollard/FGA/mail-mbox-formats.html

Or just pipe INPUTMSG to "procmail -d defang". And you'd not need to
worry about locking, "From " lines, "^From" quoting etc.

Best of prhn - najzabawniejsze teksty polskiego UseNet-u
  Chaos zawsze pokonuje porządek, gdyż jest lepiej zorganizowany.
                                              [ Terry Pratchett ]

More information about the MIMEDefang mailing list