procmail
[Top] [All Lists]

Re: Why is formail escaping "From " ?

2002-01-14 09:27:54
Hmmmmm ... I did not know that procmail is also escaping fake from headers.
Why that ? Why does it matter for procmail if a mail is being delivered or
forwarded/piped ?

It's because procmail is a mail processor rather than a general text
processor, and 'From ' has a special meaning to mailbox format files.
If it is being forwarded/piped then procmail isn't delivering it to a
mailbox format file and so doesn't need to 'correct' the format for you.
The alternative is to have 'Content-Length:' headers in every mail
message.

Is there any switch I can use to prevent procmail from escaping From´s ?

I don't believe so, no.  At least, not for messages that do not have a
Content-Length: header.  This is discussed a bit in the procmail man
page, I think.

Am I supposed to change the delivery lines to look like this ?:
:0:
| cat >> $YYYY.$MM

I believe so, if you need the 'From' lines in the body to not be
escaped.

Cheers,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
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>