Jan Müller a écrit :
> I have working spamassasin, but can not get it to process courier mail.
>
> Eg: when I feed spamassasin a test mesage via the command line, it
> returns some output. But when i recieve mail via smtp, there is not
> spamassassin header. Spam still reigns.
> Here is what i did trying to follow tips from spamassassin website:
>
> in courier/etc/courier:
> DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
>
> and courier/etc/maildroprc:
> import USER
> if ($LOGNAME ne "")
> {
> xfilter "spamc -u $LOGNAME"
> }
> else
> {
> xfilter "spamc -u $USER"
> }
>
> What should i do next?
>
> Thank you for help.
>   
3 ideas for you:
 - reject message when SMTP connection is still opened: use 
Courier-pythonfilter with spamassassin filter. It works perfectly.
 - DEFAULTDELIVERY="|/usr/bin/spamc|/usr/lib/courier/bin/maildrop"
 - If there is nothing else in your maildroprc, you won't reject 
anything. Do you see spamassassin working in syslog ? (mail.log or 
something like that)

HTH.
Jerome Blion.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to