Am 2022-02-11 um 17:05 schrieb Benny Pedersen:
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

$mydomain does not accept emails also, it is not a email domain. I keep $myorigin as-is is because I want to see the NIS account and the machine where the message has originated from. I don't need real email addresses from our public namespace.
Output from cron(8), periodic(8), zabbix server and scripts.

Michael

Reply via email to