Jan Müller a écrit :
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.
[...]
I did not understand your suggestion about maildroprc and rejecting. I
was trying to get spamassasin to put headers in spam mails and filter
them accordingly in imap client. Is there a better way? It is company
mail, we should not reject mails if possible.
1 - I don't think it's a goot idea. Your users don't want heard of spam.
2 - Try DEFAULTDELIVERY="|/usr/bin/spamc"
There is smapd startup visible in log. There are some rules with zero
weight, but it doesn't seem to be major. There is no activity
afterwards.
In syslog, when you send a mail through your server, do you see
spamassassin working?
Something like:
Jul 22 06:17:35 serveur spamd[5459]: spamd: connection from localhost
[127.0.0.1] at port 59893
Jul 22 06:17:35 serveur spamd[5459]: spamd: setuid to daemon succeeded
Jul 22 06:17:36 serveur spamd[5459]: spamd: processing message
<[EMAIL PROTECTED]> for daemon:1
Jul 22 06:17:37 serveur spamd[5459]: spamd: identified spam (6.3/5.0)
for daemon:1 in 1.3 seconds, 2006 bytes.
Jul 22 06:17:37 serveur spamd[5459]: spamd: result: Y 6 -
BAYES_99,DRUGS_ERECTILE,DRUG_ED_SILD,HTML_MESSAGE,RDNS_NONE
scantime=1.3,size=2006,user=daemon,uid=1,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=59893,mid=<[EMAIL PROTECTED]>,bayes=1.000000,autolearn=no
Jul 22 06:17:37 serveur spamd[13029]: prefork: child states: II
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