Sharma, Ashish: > Hi, > > I have a mail receiving postfix server with my custom email filter > and a custom content filter. > > The entire system was made for the case of receiving emails meant > for single recipients only on the same mail domain, mails directed > for multiple recipients for the receiving email domain were rejected. > > Now because of requirement changes it's required to support multiple > recipients too. > > So in view of above facts, is there a way I can set postfix to > create separate mail filter and smtp communication for each > recipient?
a) You use before-queue filters. Use a content filter that supports different per-recipient policies. There is no Postfix support for different before-queue filters for multi-recipient mail. b) You use after-queue filters. Instead of using content_filter within a single Postfix instance, use multiple Postfix instances, and use transport_maps to select the per-recipient filter between the two instances. The before/after queue terminology is defined in http://www.postfix.org/CONTENT_INSPECTION_README.html For Postfix multiple instance management see http://www.postfix.org/MULTI_INSTANCE_README.html Wietse