Hi !

with

mydomain = hoerst.net

myorigin = $mydomain

the email sent via mailx has [email protected] 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 [email protected]   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 [email protected]
To unsubscribe send an email [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to