ewilkison: > 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??
No. The virtual alias map does not verify that the user really exists. > Is there a better way to work around this issue? 1) Periodically, populate your virtual aliases with real data. 2) Use reject_unverified_recipient, as described in http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient Wietse
