On 08.01.2010 10:36, Alessandro Vesely wrote:
> There is a difference between global filters and per recipient filters
> that only becomes apparent when there are multiple recipients.
>
> Each global filter runs once in a given SMTP transaction (unless all
> recipients had whitelisted it.)
>    
So if two users on my system include 
/etc/courier/maildroprcs/spamassassin in their smtpfilter, and an email 
has both users as its recipients, my spamassassin filter would only be 
invoked once?

Or are you referring to something else than filters stored in 
/etc/courier/maildroprcs/ with "global filters"?

> Per recipient filters run once for each recipient, obviously. Courier
> SMTP final response may vary if one recipient has already accepted the
> data before another one rejects it. Different results may be obtained
> using per recipient Bayesian data, which is difficult to maintain in a
> non-interactive environment.
>
>    
I only have a single mail user on my system (me) and my SpamAssassin is 
set up to use a global Bayesian database via MySQL, but I should 
probably check what happens if a mail is sent to two users on my system 
and their filters disagree before going live. Thanks!

-Markus-


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to