On 2021-07-07 17:03, [email protected] 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 [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?
Thanks!
Alias from [email protected] to [email protected] ?
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