On Mon, Jan 11, 2021 at 12:18:15PM -0500, Harry wrote: > Where can I find real examples of /etc/postfix/main.cf setup on host > with no resolvable FQDN relaying throu smtp Smarthost with > authentication?
http://www.postfix.org/SOHO_README.html http://www.postfix.org/SOHO_README.html#fantasy > reader > sendmail -vt <tmail.txt > Mail Delivery Status Report will be mailed to <reader>. > > I tried tmail as shown, and with `From: ' field like this: > From: rea...@newsguy.com (which is a working email address) The "From:" header has no bearing on the return path of email, which comes from the message envelope. You can set with the "-f sender" option of sendmail(1). > Even though the sendmail message says reports will be mailed, nothing > shows up at /var/spool/mail or at rea...@newsguy.com the fate of the probe report is in your logs. If your system is configured to relay all mail to a smarthost, then that's where the notice would have been routed to. Actual delivery requires a working configuration. If you configure a domain for local delivery, and use an address in that domain as the envelope sender, then probe status reports will be delivered locally. mydestination = localhost.local $ sendmail -f root@localhost.local -bv postmaster@some.where -- Viktor.