Hi !
with
mydomain = hoerst.net
myorigin = $mydomain
the email sent via mailx has u...@host.domain.tld as sender address
again... but this time somehow its DKIM signed at least
Ciao Gerd
Am 15.01.24 um 17:39 schrieb Wietse Venema via Postfix-users:
Viktor Dukhovni via Postfix-users:
On Mon, Jan 15, 2024 at 08:14:13AM +0100, Gerd Hoerst via Postfix-users wrote:
I added
masquerade_domains<http://www.postfix.org/postconf.5.html#masquerade_domains>
= hoerst.net
to main.cf and mail sent via mailx is sentasu...@domain.tld and it has also
both DKIM Signatures inside
(ed25519 and sha256 key)
I don't recommend masquerade_domains, it is better to set the right
domain in the first place. For incoming mail, masquerade_domains is not
easily compatible with recipient validation. For just outgoing mail, it
is not so bad, but I prefer canonical_maps instead, and having the right
domain in the first place (correct value of $myorigin, ...)
As Viktor suggested earlier, uise
myorigin = $mydomain
instead of the default (myorigin = $myhostname).
Wietse
_______________________________________________
Postfix-users mailing list --postfix-users@postfix.org
To unsubscribe send an email topostfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org