> ---------- Forwarded message ---------- > From: Jérôme Blion <[EMAIL PROTECTED]> > To: [email protected] > Date: Tue, 22 Jul 2008 20:35:55 +0200 > Subject: Re: [courier-users] spamassasin > 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.
Thank you for your ideas: when i try to install Courier-pythonfilter: python setup.py install, i get an error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory) Such file really does not exist on my Suse 10.3. What should i do? Courier-pythonfilter looks nice, especially with clamav plugin. 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. 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. ------------------------------------------------------------------------- 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
