In message <[email protected]>, Robert Elz writes: > Date: Sat, 25 Aug 2018 17:59:22 -0400 > From: Richard M Kreuter <[email protected]> > Message-ID: <[email protected]> > > | 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: [email protected] | "An NT server can be run by an idiot, and usually is." -- Tom Holub -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
