postfix aliases ignored
it looks like postfix (for a long time, it's not a new problem)
aliases are not working on my system, all aliases are ingored, any
pointers appreciated, here are the details:
debian unstable
postfix 2.1.4-4
relevant lines in /etc/postfix/main.cf:
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
relevant line in /etc/aliases (erik is a user on the system, can
receive email from both local machine and from outside, mail erik works):
www-data: erik
I ran newaliases which according to man 5 aliases should rebuild the
/etc/aliases.db and it looks like it did (I mv'd the old one of the way
and the new one was rebuilt (see Aug 2 date):
jojda:/etc# ls -l aliases*
-rw-r--r-- 1 root root 1192 Jun 15 01:39 aliases
-rw-r--r-- 1 root root 12288 Aug 2 12:55 aliases.db
-rw-r--r-- 1 root root 12288 Jul 3 06:04 aliases.db.20040802
-rw-r--r-- 1 root root 12288 Apr 20 2003 aliases.db.db3.orig
-rw-r--r-- 1 root root 12288 Jun 15 01:40 aliases.db.org
I restarted both postfix and cyrus (I don't know when the alias/db is
read).
looks like postfix is still trying to deliver to www-data (after Aug
2 12:55), cyrus complains:
Aug 2 13:00:01 jojda postfix/lmtp[6880]: 224D2C80D0:
to=<www-data@zasran.com>,
relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], delay=0,
status=bounced (host /var/run/cyrus/socket/lmtp
[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is
no mailbox associated with this 550-name or you do not have
authorization to see it. 550 5.1.1 User unknown (in reply to RCPT
TO command))
any ideas?
TIA
erik
Reply to: