Thanks Lisa.

I'm actually trying to use dspam in addition to SA, hoping maybe that it 
picks up the spams that SA isn't. I've been spending a long time tuning SA, 
but it still lets a lot through, so I was going to experiment. So basically 
similar to what you mentioned below but in reverse.

>
> If you use maildrop as your local delivery agent you can pass all mail
> through dspam there provided you aren't interested in the GUI side of
> the project. You simply call the dspam binary and make a delivery
> decision based on the output thus allowing you to deliver to a spam
> folder. There are plenty of examples of this if you google them. There
> are examples also of passing the output through spamassassin and then
> using that to train dspam automatically in the event spamassassin
> finds something dspam missed.
>

I know, that's how I started it... running dspam from within .mailfilter. 
I've spent a few days trying to get dspam to work the way I need, with no 
success.

Here's the problem: dspam needs to run under a known system user. It has a 
virtual uid mechanism but that's only when classifying, virtual users don't 
apply to actually running the tool.

Since I have courier with ldap authentication, the mailfilter file is owned 
by an ldap user, not a system user, and when dspam gets run by that user, it 
fails with an error. Even if I force dspam to be suid, that doesn't help.

So I figure the only way to be able to run dspam is to run it from the 
filter, because that's a system user.

The idea is to experiment running dspam only if the SA score is in a certain 
range, and hoping that might at least help pick up some of the misses.

Ricardo 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to