7 messages in net.sourceforge.lists.courier-users[courier-users] Integrating SpamAssas...
FromSent OnAttachments
Markus EwaldMay 22, 2006 12:47 am 
Lindsay HaisleyMay 22, 2006 9:29 am 
Markus EwaldMay 23, 2006 1:06 am 
Jay LeeMay 23, 2006 5:49 am 
Markus EwaldMay 24, 2006 2:49 am 
Markus EwaldMay 24, 2006 3:18 am 
Markus EwaldMay 24, 2006 3:26 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Integrating SpamAssassin as Courier::Filter moduleActions...
From:Markus Ewald (cyg@nuclex.org)
Date:May 22, 2006 12:47:44 am
List:net.sourceforge.lists.courier-users

Hi!

I just switched my gentoo system from qmail to courier. Old qmail was configured to reject spam at smtp time (using simscan) and I'd like to do the same in courier. As I've found out, maildrop filters mails *after* they've been accepted, so I'll need to use Courier::Filter for that purpose.

However, I'm too dumb to even get the example perl filter to work. What I've done so far: - Ensured the filtering module of courier is running - Installed perlfilter using filterctl, also checked that the symlink was created in /etc/courier/filters/active - Created /etc/courier/filters/perlfilter with a single line: '/usr/share/courier/perlfilter-spamassassin.pl' as told in the manpage - Copied the perlfilter-example.pl to perlfilter-spamassassin.pl in the above shown path - Added a 'return "500 I don't feel like accepting mails today";' in the filtercontrol() function ;-)

However, I can still receive incoming emails from external mail servers. My /etc/courier/enablefiltering lists the esmtp service, so I think it the filter should be executed.

Any ideas what I might be doing wrong? Also, the docs mention a premade spamassassin filter which I cannot find in the gentoo builds or the distribution archives. Is this still up-to-date information?

Thanks, -Markus-