[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] procmail/rcvstore & message file format
From: |
Christer Boräng |
Subject: |
Re: [nmh-workers] procmail/rcvstore & message file format |
Date: |
Wed, 29 Aug 2018 11:17:16 +0200 |
In message <address@hidden>, Robert Elz writes:
> Date: Sat, 25 Aug 2018 17:59:22 -0400
> From: Richard M Kreuter <address@hidden>
> Message-ID: <address@hidden>
>
> | showed that the source of the `From ' line is upstream of my .forward,
>
>I use:
>
> formail < "$F" -I "From " -Y -s procmail
>
>where "$F" is an mbox format file -- it would work with a single message
>on stdin as well) like
>
> | formail -I "From " -Y -s procmail
>
>That deletes the "From " stuff, and makes the message format just fine for
>both |rcvstore and direct storage into MHY folders (I use both, rcvstore
>when I want unseen sequence updates, and direct storage when I don't).
And if you want to keep it around, you can do what I do:
# Change "From " to "X-Envelope-From:"
:0 fhw
| formail -f -R "From " "X-Envelope-From:"
//Christer
--
| Hagåkersgatan 18C | Phone: Home +46 31 435203 CTH: +46 31 772 5431 |
| S-431 41 Mölndal | Cell: +46 707 535757 |
| Sweden | Mail: address@hidden |
"An NT server can be run by an idiot, and usually is." -- Tom Holub