On 01/08/2010 12:20 AM, Markus Ewald wrote:
My goal is to reject spam, not add headers.
Then I apologize for being confused.
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.
If you're concerned about overhead, I'd still recommend Courier::Filter or courier-pythonfilter. Using the courierfilter API, you can scan incoming messages once per message and add headers. Using maildrop, you'll scan it at least once per recipient. You may end up scanning it twice per recipient if you decide you want to add the headers.
------------------------------------------------------------------------------ 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
