procmail
[Top] [All Lists]

Re: addding from lines with formail

2020-05-14 10:23:39
Greetings, Robert Moskowitz!

If I user formail to -I replace the From-Header, formail creates a
From-mbox line where the sender is foo@bar.
That's the default if there's no valid From: in the incoming message.
There IS a From: in the original message:

From: "(Cron Daemon)" <rgm>
That's not a valid From: address since it doesn't have a domain name.

Ah, I will take your word for it.  I could never grok 822.

https://tools.ietf.org/html/rfc5322#section-3.4.1

It is what cron is doing, though.  Why put something in broken?   It 
could have done rgm@localhost.

Which is about as "useful".
I'd rather like <cron@`hostname --fqdn`>

One more thing to include in my cron bug report.  Already going to 
complain no Date: as to when the cron task started.  All you can do is 
stick in a Date: header of when the task finished.


-- 
With best regards,
Andrey Repin
Thursday, May 14, 2020 17:45:59

Sorry for my terrible english...
____________________________________________________________
procmail mailing list -- procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de   
Procmail homepage: http://www.procmail.org/
To unsubscribe send an email to 
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de

<Prev in Thread] Current Thread [Next in Thread>