Markus Ewald wrote: >>> On 1/7/2010 8:20 PM, Gordon Messmer wrote: >>>> If you want to do scanning during the SMTP session, you need to use >>>> Courier::Filter or courier-pythonfilter. Maildrop's embedded mode will >>>> not work. > > My goal is to reject spam, not add headers. > > I have used 'xfilter' simply because I hoped adding headers would be > possible. The 'xfilter' command was doing what I wanted it to do (check > for spam), just without achieving one of its documented effects as I now > know. Sam Varshavchik cleared that up to me, so I switched to using > backticks instead of 'xfilter' and my scan command is now "spamc --check > --exitcode" to avoid a possible overhead from reading SpamAssassin's > stdout back in.
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.) 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. ------------------------------------------------------------------------------ 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
