On Wed, August 6, 2008 15:23, Nicolas Letellier wrote: > Hello. > > I'm looking for a solution to desactivate antispam solution for a few > recipients. > > By default, spamassassin is activated for all mails, with a rule like: > smtp inet n - n - - smtpd > -o content_filter=spamassassin > > I would like to know if you have a solution to launch spamassassin > *only* if the recipient want to have an antispam solution. > > For example, to have a recipients_map with all domains to analyse with > spamassassin. > > I think a solution could be customize master.cf, but I don't have any > idea of how do this. > > Do you have some ideas? > > Thanks! > > Regards, > > -- > - Nicolas. > >
Yes, use the smtpd_restriction_classes... http://www.postfix.org/RESTRICTION_CLASS_README.html -- Regards, Jon