Virtual mapping without classifying
We're working on a project that will use Postfix as gateway servers from the
Internet to a couple a couple of internal mail systems.  We've got it setup
with hash tables to map about 30K virtual users to their destination
address.  Mail to non existing users should be rejected.
One of the requirements is to map also map several countries domains back to
the main .com domain.  For example, [email protected] can also receive mail as
[email protected], [email protected], etc.  To accomplish this we used regex
virtual mapping:
/(.*)@example.uk/ [email protected]
/(.*)@example.in/ [email protected]

This system works well for known users, but does not reject mail for non
existing country domain users. For example [email protected] is accepted
then a bounce message is generated because there is no virtual mapping for
[email protected]. When [email protected] is mapped to [email protected]
via the regex mapping it is also classified as an authorized destination. 
Is there a way to have postfix perform this first level of mapping without
classifying the recipient as authorized? 

Is there a better way to work around this issue?




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to