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=
participants (1)
-
Thomas Schweikle