On 2021-07-07 17:03, post...@ptld.com wrote:
On 07-07-2021 9:50 am, 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 r...@domain.com. 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
r...@domain.com instead?
Thanks!
Alias from r...@host.subdomain.domain.com to r...@domain.com ?
logwatch uses a system user, so it send from an envelope sender without
@
postfix append myorigin from main.cf when enveloppe missing @
in /etc/mail/aliases it format is:
root: fqdn-mailbox
root is default unset there, since root dont read emails it need to be
changed :=)
hope this helps solve it