I've got a Postfix based mail server with some local users (regular accounts). Several Domains (lets call them domain1.com to domain5.com) point to this system and each user has at least one alias defined in a hash table.
virtual_alias_maps = hash:/etc/postfix/virtual
First of all: everything works beautifully. The only thing that bothers me is that every username gets a mail adress in every domain.
If I send a mail to email@example.com it will be delivered (which is perfectly correct, yet not what I want
What I'd like to have is a possibility to limit the receiving adresses to the aliases I have defined before. Local delivery should be untouched by this change.
So, any suggestions?