Hello, I have upgraded my home firewall to OpenBSD 7.4. In my “smtpd.conf” I have a relay setup (very similar to the example in “man” page).
My smtpd.conf # $OpenBSD: smtpd.conf,v 1.14 2019/11/26 20:14:38 gilles Exp $ # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. table aliases file:/etc/mail/aliases table secrets file:/etc/mail/secrets listen on socket listen on lo0 action "local_mail" mbox alias <aliases> action "outbound" relay host smtp+tls://smtp...@mail.smtp2go.com \ auth <secrets> mail-from f...@sidoti.id.au match from local for local action "local_mail" match from local for any action “outbound" It appears that the “mail-from” is not working. I can see this in the mail logs. I am sending emails in a backup script using the command; e.g. mail -s “My Backup" n...@sidoti.id.au < somefile Extract from /var/log/maillog Nov 6 17:34:36 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta connecting address=smtp+tls://45.79.238.223:25 host=mail-in12.smtp2go.com Nov 6 17:34:36 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta connected Nov 6 17:34:36 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta tls ciphers=TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256 Nov 6 17:34:36 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta cert-check result="valid" fingerprint="SHA256:0543063b2b0d6f3fedcf9e4772d534e030b65628e34f90941e04607730abe2b7" Nov 6 17:34:36 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta delivery evpid=a7b3da0fc3085f6d from=<f...@sidoti.id.au> to=<n...@sidoti.id.au> rcpt=<nino@fw2.sidoti.local> source="116.255.12.39" relay="45.79.238.223 (mail-in12.smtp2go.com)" delay=6m40s result="PermFail" stat="550-From header sender domain not verified (fw2.sidoti.local)On your Sending > Verified Senders pageverify the sender domain or email to be allowed to send." Nov 6 17:34:37 fw2 smtpd[43484]: 7cb40a8c9d9105ad smtp connected address=local host=fw2.sidoti.local Nov 6 17:34:37 fw2 smtpd[43484]: 7cb40a8c9d9105ad smtp message msgid=74854ebc size=1796 nrcpt=1 proto=ESMTP Nov 6 17:34:37 fw2 smtpd[43484]: 7cb40a8c9d9105ad smtp envelope evpid=74854ebc8c255a4c from=<> to=<nino@fw2.sidoti.local> Nov 6 17:34:37 fw2 smtpd[43484]: 7cb40a8c9d9105ad smtp disconnected reason=quit Nov 6 17:34:38 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta delivery evpid=74854ebc8c255a4c from=<> to=<n...@sidoti.id.au> rcpt=<nino@fw2.sidoti.local> source="116.255.12.39" relay="45.79.238.223 (mail-in12.smtp2go.com)" delay=1s result="PermFail" stat="550 to send email from a blank sender, enable blank senders" Nov 6 17:34:38 fw2 smtpd[60932]: warn: queue: no return path! Nov 6 17:34:48 fw2 smtpd[43484]: 7cb40a8b67fe96f9 mta disconnected reason=quit messages=0 Is there some new way of using “mail-from” with OpenSMTPD? In OpenBSD 7.3, this was working fine. Any suggestions and feedback is appreciated. Regards Antonino Sidoti