our company has registered many tld for our domains (ie. company.com, company.co.uk, company.de and so on) and i would like to receive emails from all these domains and redirect each email to particular user, let me explain it on an example:
we have two users (user1, user2) with these emails: email@example.com, user2.company.com
we have these domains: company.com, company.co.uk, company.de
What i would like to achieve is:
- email for recipient firstname.lastname@example.org will be delivered to user1.
- email for recipient email@example.com will be delivered to user2.
- and so on...
I would like to achieve this without creating many aliases for each user - what would you recommend?
I was thinking about rewirite domains by postfix on ZCS, so that if recipient address has an "secondary" domain (.de, .co.uk) it will be rewriten to company.com domain, but I dont like this solution much.
I could make aliases on ZCS with bash & loop for each user quiet fast, but that doesn't seems to me as good global solution to have lets say 10 aliases (10 secondary tld domains) for each user.