This is /etc/hosts. There's not much in it.
cesinge@secumailtest:~$ more /etc/hosts
[IPv6 standard lines skipped]
22.214.171.124 secumailtest.cesinge.com secumailtest
10.179.70.42 secumailtest.cesinge.com secumailtest
127.0.1.1 secumailtest.cesinge.com secumailtest
2a00:1a48:7805:0113:0e13:f616:ff08:3f99 secumailtest.cesinge.com secumailtest
/etc/hostname contains just the line
- that's all.
It seems that Postfix or SpamAssassin just ignore /etc/aliases (and also the postfix forwardings table). I see that all notification mails are always sent to and from email@example.com
. I assume that root
is because that's the user running postfix and spamassassin. And I guess @cesinge.com
because it's the DNS domain to which the machine belongs?
What bothers me is that I don't have a clear understanding of how this works. Then I could consider tweaking something to force these mails to a mailbox that I read.