In message <8899(_dot_)1535238573(_at_)jinx(_dot_)noi(_dot_)kre(_dot_)to>,
Robert Elz writes:
Date: Sat, 25 Aug 2018 17:59:22 -0400
From: Richard M Kreuter <kreuter(_at_)progn(_dot_)net>
Message-ID: <24640(_dot_)1535234362(_at_)vps0(_dot_)progn(_dot_)net>
| 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: mort(_at_)chalmers(_dot_)se
|
"An NT server can be run by an idiot, and usually is." -- Tom Holub
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers