All emails that should be bounced because the account doesn't exist are ending up in root's mailbox. How do I stop this? (Sorry, I'm sure this has been answered before but I couldn't find it.)
I bet, youve checked catch all to some main domain's address? I still believe you must add an alias to admispconfig...
No to both posts. I have forwarded root to my email address in the /etc/aliases file but I don't see how that would change anything.
I did match the link you posted before but I've reset the domain names so the server isn't on the same domain as ones I'm hosting. The problem hasn't gone away. Any other ideas?
Not sure if this will work for you (it did for me) Open: /etc/postfix/main.cf, and add local_recipient_maps = $alias_maps After this you will need to to a: postfix reload Postfix will now look in $alias_maps. If the user does not exisit it will bounce the message
Still receiving emails to root@anydomain, webmaster@anydomain, and (confusingly) alicia@anydomain should I comment out this line: alias_maps = hash:/etc/aliases I assume that's why I'm receiving mail to root and webmaster, but the alicia isn't listed in there so that has me confused.
I think it's better to modify /etc/aliases and run Code: newaliases afterwards. What's in /etc/aliases? What's the output of Code: grep alicia /etc/passwd ?
web16_alicia:x:10032:10016:alicia:/home/www/web16/user/web16_alicia:/bin/false alicia is an account that exists on the server, and my own email exists on a different server. I have in /etc/aliases: root: [email protected] because I want to get any important root email like log watch.
I assume you also have webmaster: root in there? That explains why you get mails for webmaster and root. Regarding alicia: did you enable forwarding for that account to your email address in ISPConfig?
No, alicia isn't forwarding. There's also been a couple emails arriving at the wrong mailboxes other than mine. I just get the bulk of it. As for the webmaster, yes you're correct. That's why I was asking if I could get rid of this line: alias_maps = hash:/etc/aliases
I'd just change the webmaster line in /etc/aliases or delete the line if you don't need it. Run Code: newaliases afterwards.