
I am struggling a bit with terminology here. There is the "regular" RFC822 email From: header. I will call that From-header. Then there is the mbox start-of-message From line. I will call that From-mbox. If I use formail to change various email headers other than the From-Header, formail creates a From-mbox line that shows the sender as what is in the existing From-Header. If I user formail to -I replace the From-Header, formail creates a From-mbox line where the sender is foo@bar. Strange behavior. Now I have not tested all possible combinations of formail options, but -I From: ... causes this odd behavior. I has become a mute point, as when I pipe the output of formail into procmail -d .... , procmail 'fixes' the From-mbox line. But formail should not be getting it wrong in the first place to need procmail to correct it. On 5/13/20 2:16 AM, Ruud H.G. van Tol wrote:
That initial "From " line (or is it " From "?) is not part of the email-header, but is rather a 'system solution' to represent part of the envelope details.
-- Ruud
On 2020-05-12 22:52, Robert Moskowitz wrote:
When I use a -I From: to replace my From: line, formail is putting foo@bar in the first line From.
procmail mailing list -- procmail@lists.rwth-aachen.de Procmail homepage: http://www.procmail.org/ To unsubscribe send an email to procmail-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de