[Mailman-Users] How to test SpamAssassin with mailman?

Jana Nguyen jnguyen at ncmir.ucsd.edu
Fri May 26 21:43:15 CEST 2006


Hmm, I've been having problems for days not being able to send out mail 
with the spam header using postfix.  I don't know if I want to go with 
amavisd at this point if I can't get a basic spamassassin integrated 
with mailman working. 

After integrating mailman with spamassassin I can't even send out or 
received
email notification from my mailing list.

Below is my "mm.cf file", not sure if I've added the variables for 
spamassassin right:

# Put YOUR site-specific settings below this line.

MTA = 'Postfix'

SMTPHOST = 'birn-holly.ucsd.edu'
SMTPPORT = 25
POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'

# Adding the SpamAssassin Filter to Mailman
GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

SPAMASSASSIN_HOST = 'birn-holly.ucsd.edu'
SPAMASSASSIN_DISCARD_SCORE = 5
SPAMASSASSIN_HOLD_SCORE = 5
#SPAMASSASSIN_MEMBER_BONUS = 2

My local.cf file used for spamassassin:
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe             1

# Enable the Bayes system
use_bayes               1

# Enable Bayes auto-learning
bayes_auto_learn              1

# Enable or disable network checks
skip_rbl_checks         0
#use_razor2              0
#use_dcc                 0
use_pyzor               1

Thanks!


Brad Knowles wrote:

> At 1:27 PM -0700 2006-05-23, Jana Nguyen wrote:
>
>>  I've integrated SpamAssassin with Mailman following the instructions at
>>  http://www.jamesh.id.au/articles/mailman-spamassassin/
>
>
>     You may also want to look at integrating SpamAssassin into your 
> MTA, so that this stuff gets handled before it even hits Mailman. See 
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.012.htp>.
>
>>  How do I test SpamAssassin with mail so that I know that mail is being
>>  filter?  Below is the spamassassin config I've added
>>  to mm_cfg.py:
>
>
>     If you followed the instructions at the URL that was given, then 
> those instructions should have included information on how to do 
> testing to see if it is working.
>
>     If not, you should contact the maintainer of those instructions. 
> We can provide a link to them from our FAQ Wizard, but that's about 
> the extent of the support we can provide.
>




More information about the Mailman-Users mailing list