Hello,
 
I am looking for a simple way to add a header if and only if mail is sent locally via sendmail (mail/mailx) command.
We need to know who/what sent an email.  We already get the client's IP address if sent using smtp via smtpd_client_restrictions, but if it is not sent via smtp I have no clue how to add a header except using header_checks that adds this header for all mails.
Any (simple) ideas?
 
Thank you!
-lutzn
 
 

Reply via email to