I have a /etc/postfix/virtual file set up to alias mail to different domains to the right local user, however I also want to use /etc/aliases to alias certain local users (mostly nobody and postmaster to root) -- I have:
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_maps = hash:/etc/postfix/virtual
But it seems to be ignoring the /etc/aliases (I have nobody: root but mail to nobody@localhost still goes to /var/mail/nobody)
Q: Did you run
newaliases
after changing the/etc/aliases/
file? A: you say “yes”.Q: Do you have similar output for the following command?