Dear Community,

I need Policy-based aliases - the aliases that would be different for different sender/recipient pairs.

For example if j...@somedomain.com writes to supp...@mydomain.com, the recipient address will expand to u...@mydomain.com and u...@mydomain.com.

But if m...@otherdomain.com writes to supp...@mydomain.com, the recipient address will expand to u...@mydomain.com and u...@mydomain.com.

Is it possible in Postfix? If so, how to implement in most efficient way?

So far I see two options: REDIRECT and dedicated smtp daemon with different alias settings as a FILTER.

Both options have pros and cons. Which one is better? Or maybe there is something even better that these two?

Thanks in advance


--
Best regards,
Pavel

Reply via email to