Hi there, In OpenSMTPD prior to 6.4, one could had a rule like this:
accept for any relay via "smtp://smtp.foo.bar" as "@foo.bar" It seems the `as` keyword disappeared in the new syntax, and was partially replaced with `mail-from mailaddr`, but that last one seems way less powerful. Indeed, compare both man entries: “If the |as| parameter is specified, smtpd(8) <https://man.openbsd.org/OpenBSD-6.3/smtpd.8> will rewrite the sender advertised in the SMTP session. address may be a user, a domain prefixed with ‘@’, or an email address, causing smtpd(8) <https://man.openbsd.org/OpenBSD-6.3/smtpd.8> to rewrite the user-part, the domain-part, or the entire address, respectively.” ”Use mailaddr as the MAIL FROM address within the SMTP transaction.” Is there anyway to recover old behaviour? Regards, Archange