I have what I think should be a simple setup that does not seem to be using the /etc/aliases file. I expect all mail sent to root to go to sy...@domain.tld but it is going to r...@domain.tld. Can anyone point me in the right direction to getting this working? Thanks in advance!
# /etc/postfix/main.cf myhostname = hostname.domain.tld myorigin = $mydomain inet_interfaces = loopback-only mydestination = # /etc/aliases root: sy...@domain.tld # /etc/hosts 127.0.0.1 localhost 69.162.79.88 hostname.domain.tld hostname root@hostname:~# postconf|grep alias_database alias_database = hash:/etc/aliases root@hostname:~# newaliases root@hostname:~# postfix reload root@hostname:~# cat /etc/postfix/main.cf |mail -s "`date +'%r'`" root root@hostname:~# tail /var/log/mail.log Oct 31 15:23:38 hostname postfix/pickup[1832]: 0ACC5119846: uid=0 from=<root> Oct 31 15:23:38 hostname postfix/cleanup[1845]: 0ACC5119846: message-id=<20131031152338.0acc5119...@hostname.domain.tld> Oct 31 15:23:38 hostname postfix/qmgr[1833]: 0ACC5119846: from=<r...@domain.tld>, size=437, nrcpt=1 (queue active) Oct 31 15:23:38 hostname postfix/smtp[1847]: 0ACC5119846: to=<r...@domain.tld>, orig_to=<root>, relay=smtp.provider.net[280.90.215.86]:25, delay=0.09, delays=0.02/0.01/0.04/0.01, dsn=5.7.1, status=bounced (host smtp.provider.net[280.90.215.86] said: 554 5.7.1 <r...@radicaldesigns.org>: Recipient address rejected: Access denied (in reply to RCPT TO command)) Oct 31 15:23:38 hostname postfix/cleanup[1845]: 1EB7C1199C8: message-id=<20131031152338.1eb7c119...@hostname.domain.tld> Oct 31 15:23:38 hostname postfix/bounce[1848]: 0ACC5119846: sender non-delivery notification: 1EB7C1199C8 Oct 31 15:23:38 hostname postfix/qmgr[1833]: 1EB7C1199C8: from=<>, size=2578, nrcpt=1 (queue active) Oct 31 15:23:38 hostname postfix/qmgr[1833]: 0ACC5119846: removed Oct 31 15:23:38 hostname postfix/smtp[1847]: 1EB7C1199C8: to=<r...@domain.tld>, relay=smtp.provider.net[280.90.215.86]:25, delay=0.03, delays=0/0/0.02/0.01, dsn=5.7.1, status=bounced (host smtp.provider.net[280.90.215.86] said: 554 5.7.1 <r...@radicaldesigns.org>: Recipient address rejected: Access denied (in reply to RCPT TO command)) Oct 31 15:23:38 hostname postfix/qmgr[1833]: 1EB7C1199C8: removed