bigrigdriver,
This is /etc/hosts. There's not much in it.
Code:
cesinge@secumailtest:~$ more /etc/hosts
127.0.0.1 localhost
[IPv6 standard lines skipped]
95.138.172.242 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
secumailtest - 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
root@cesinge.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.