procmail
[Top] [All Lists]

Re: Converting message files to mbox

2002-02-01 21:11:59
Kenneth Porter <shiva(_at_)well(_dot_)com> writes:
...
Thanks. Is there a way to get formail to generate Content-length headers
instead of escaping From lines in bodies? (I'm showing my cluelessness
here, but I was under the impression that modern mbox files used the
former to avoid the need for the latter.) Or does it already do that?

Just Say No to Content-Length in email messages.  Jamie Zawinski's rant
on the topic pretty much covers why you shouldn't try to use such a thing:
        http://www.jwz.org/doc/content-length.html

If anything, I would suggest _removing_ any Content-Length: header field
that you encounter:

        for x in `ls -r -t *.MSG`
        do
                formail -IContent-Length: < $x >> oldmail.mbx
        done


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>