On 2022-02-11 15:09, michael.osi...@siemens.com wrote:

What I have come up with is doing in /usr/local/etc/postfix/canonical:
@localhost @myhostname

I had to add the actual hostname since @$myhostname is not supported.
My question: Is this the proper way to go with Postfix to mimic
sendmail behavior?

# cat main.cf:
myorigin = $mydomain

dont use $myhostname with in my case is fqdn-hostname where no mail is accepted :=)

better help is giving when postconf -n is shown with logs of ther problem

Reply via email to