On Wed, Nov 04, 2009 at 06:34:38PM +0100, pascal valois wrote: > i don't understand how the filter are processed ? > > can someone help me write a filter who would accept mail for > "postmas...@domain" and reject all other mails ?
http://www.postfix.org/access.5.html http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions http://www.postfix.org/postconf.5.html#check_recipient_access A lot depends on the type of domain, for "virtual alias" domains for example, just don't create any virtual alias table entries for any other users in the domain. http://www.postfix.org/ADDRESS_CLASS_README.html http://www.postfix.org/VIRTUAL_README.html http://www.postfix.org/virtual.5.html http://www.postfix.org/postconf.5.html#virtual_alias_maps http://www.postfix.org/postconf.5.html#virtual_alias_domains None of this has anything to do with "pcre" per-se. Why do you believe you need PCRE to implement a policy that only accepts mail for certain recipients? -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.