On Thu, 24 Jul 2008 09:17:41 +0200, "Jan Müller" <[EMAIL PROTECTED]> wrote: >> ---------- Forwarded message ---------- >> From: Jérôme Blion <[EMAIL PROTECTED]> >> To: Jan Müller <[EMAIL PROTECTED]> >> Date: Wed, 23 Jul 2008 20:19:15 +0200 >> Subject: Re: [courier-users] spamassassin >> 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 > > this is my mail log: > Jul 24 08:40:23 mail courieresmtpd: started,ip=[::ffff:xxxx] > Jul 24 08:40:30 mail courierd: newmsg,id=0000CD22.488823DD.00000F09: > dns; rv-out-0506.xxxx.com ([::ffff:xxxx]) > Jul 24 08:40:30 mail courierd: > started,id=0000CD22.488823DD.00000F09,from=<[EMAIL PROTECTED]>,module=local,host=muj!!6000!6000!/mail/vmail/muj!/mail/vmail/muj!,addr=<muj> > Jul 24 08:40:30 mail courierd: Waiting. shutdown time=none, wakeup > time=Thu Jul 24 10:14:41 2008, queuedelivering=3, inprogress=1 > Jul 24 08:40:30 mail courierlocal: > id=0000CD22.488823DD.00000F09,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=3854,success: > Message delivered. > > That's it. I changed DEFAULTDELIVERY back to "|/usr/bin/spamc". no change.
Ooops... I made a mistake. You have to send a mail TO your server to see if it's filtered or not. # which spamc gives you: /usr/bin/spamc? 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
