I would like to alter the value of the From field that
sendmail uses. Note that this is NOT the From: field (with the colon), it is the one without the colon, the one that is supplied with the SMTP MAIL FROM command.
I am running sendmail v 8.8.5-4 (the latest) and have tried
all sorts of things in /etc/sendmail.cf: setting
CM (some class)
O UnixFromLine=From email@example.com $d
O SmtpGreetingMessagefirstname.lastname@example.org Sendmail $v/$Z; $b
none of these seem to make the smallest difference; in all cases, sendmail identifies the actual host, instead of using the masqueraded name. What can I do?