![](https://seccdn.libravatar.org/avatar/89e1c1d7546f3300bb06c53e91eac5c6.jpg?s=120&d=mm&r=g)
Hi! It looks like postfix is ignoring aliases.db in some cases. Assume settings in postfix.rc.config: POSTFIX_CREATECF="yes" POSTFIX_RELAYHOST="snoopy.nic.home.net" POSTFIX_NULLCLIENT="no" POSTFIX_MASQUERADE_DOMAIN="" POSTFIX_LOCALDOMAINS="" and aliases like: root: \root, tschweikle@fkn.de # Basic system aliases that MUST be present. mailer-daemon: root postmaster: mailer-daemon # General redirections for pseudo accounts in /etc/passwd. daemon: root lp: root news: root uucp: root games: root man: root at: root postgres: root [...] a mail to root should be delivered localy _and_ forwarded to tschweikle@fkn.de. In the logs you see: xcnlm03s:/etc # mail -s Test root Test . EOT xcnlm03s:/etc # tail /var/log/mail Oct 23 13:22:51 xcnlm03s postfix/pickup[3508]: 809643EE01: uid=0 from=<root> Oct 23 13:22:51 xcnlm03s postfix/cleanup[3820]: 809643EE01: message-id=<20011023112251.809643EE01@xcnlm03s.mm.home.net> Oct 23 13:22:51 xcnlm03s postfix/qmgr[3509]: 809643EE01: from=<root@mm.home.net>, size=333, nrcpt=1 (queue active) Oct 23 13:22:51 xcnlm03s postfix/smtp[3822]: 809643EE01: to=<root@mm.home.net>, relay=snoopy.nic.home.net[192.168.10.17], delay=0, status=sent (250 Message received: 20011023091948234.AAA246.308@xcnlm03s.mm.home.net) Mail will only be delivered to root! Setting POSTFIX_LOCALDOMAINS="" to "localhost mm.home.net" makes postfix respect aliases.db: xcnlm03s:/etc # mail -s test root Test . EOT xcnlm03s:/etc # tail -n 5 /var/log/mail Oct 23 13:28:49 xcnlm03s postfix/local[5926]: 863A13EE01: to=<root@mm.home.net>, relay=local, delay=0, status=sent (mailbox) Oct 23 13:28:49 xcnlm03s postfix/cleanup[5924]: A6C923EE02: message-id=<20011023112849.863A13EE01@xcnlm03s.mm.home.net> Oct 23 13:28:49 xcnlm03s postfix/local[5926]: 863A13EE01: to=<root@mm.home.net>, relay=local, delay=0, status=sent (forwarded as A6C923EE02) Oct 23 13:28:49 xcnlm03s postfix/qmgr[5674]: A6C923EE02: from=<root@mm.home.net>, size=495, nrcpt=1 (queue active) Oct 23 13:28:49 xcnlm03s postfix/smtp[5927]: A6C923EE02: to=<tschweikle@fkn.de>, relay=snoopy.nic.home.net[192.168.10.17], delay=0, status=sent (250 Message received: 20011023092546406.AAA337.247@xcnlm03s.mm.home.net) -- Thomas