On 1/7/2010 8:20 PM, Gordon Messmer wrote:
On 01/06/2010 11:59 PM, Markus Ewald wrote:
I'm a bit confused about how to set up SpamAssassin on my server.

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.

For the fact that it will not work, I have to say that it is working pretty nicely on my server right now :P :))

The trick is to put the 'xfilter' and other statements which are prohibited in embedded mode in /etc/courier/maildroprcs. As the maildrop docs state: "If *maildrop* encounters an include <http://www.courier-mta.org/maildrop/maildropfilter.html#include> statement where the filename starts with |/etc/maildroprcs/|, the normal restrictions for the embedded mode are suspended while executing the filter file in the |/etc/maildroprcs| directory."

So you *can* execute external processes in Maildrop's embedded mode, just not in a per-user filter.

-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