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 sent [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 to [email protected]