On 2021-07-07 08:50, Mike Hughes wrote:
I just noticed that we have a bunch of undeliverable messages piling
up in the queue. I have root defined in aliases for another address,
which works when sending to [email protected]. However, since the FQDN
in main.cf is defined as host.subdomain.domain.com it's appending the
whole string.
What's the most stable way to encourage everything to go to
[email protected] instead?
This may or may not be a Postfix question; you did not share enough
information for us to know.
It could be that logwatch is sending mail with a bare localpart,
"root", in which case your Postfix answer is $myorigin:
http://www.postfix.org/postconf.5.html#myorigin
http://www.postfix.org/BASIC_CONFIGURATION_README.html
Or, it could be that your distribution configured mailx(1) or similar
to send mail as [email protected]. You could know by
checking your logs and consulting your logwatch/mailx/distro
documentation.
--
http://rob0.nodns4.us/