[Mailman-Users] Mailman/SpamAssassin holding for moderation instead of discarding spam

Mark Sapiro mark at msapiro.net
Wed Mar 19 01:23:22 CET 2008


Fletcher Cocquyt wrote:
> Hi, forgive me for replying directly ­ I¹m on the digest version of the list
> and saw your reply on the web archive
> 
> [Bounced to list - MS]
> 
> "Post by non-member to a members-only list" is the reason

<snip>

> I also see this in the mailman error log:
> Mar 18 15:45:02 2008 (18680) spamd: not enough words in response header
> Mar 18 15:45:15 2008 (18680) spamd: not enough words in response header
> Mar 18 15:45:30 2008 (18680) spamd: not enough words in response header
> Mar 18 15:45:38 2008 (18680) spamd: not enough words in response header
> Mar 18 15:45:46 2008 (18680) spamd: not enough words in response header
> Mar 18 15:46:01 2008 (18680) spamd: not enough words in response header
> Mar 18 15:46:26 2008 (18680) spamd: not enough words in response header
> Mar 18 15:46:38 2008 (18680) spamd: not enough words in response header
> Mar 18 15:46:41 2008 (18680) spamd: not enough words in response header
> Mar 18 15:46:58 2008 (18680) spamd: not enough words in response header
> Mar 18 15:47:12 2008 (18680) spamd: not enough words in response header
> Mar 18 15:47:18 2008 (18680) spamd: not enough words in response header
> Mar 18 15:47:33 2008 (18680) spamd: not enough words in response header
> 
> Which is from spamd.py:
> 
> god at irt-smtp-02:logs 4:19pm 133 # egrep "not enough"
> ./Mailman/Handlers/*.py
> ./Mailman/Handlers/spamd.py:            raise error('not enough words in
> response header')
> 
> 
> But I'm not sure if that is relevant

It's relevant. It means that your spamd.py module is not compatible with 
the spamd daemon on your system.

I don't know what spamd.py you're using, but the one from 
<http://sourceforge.net/tracker/index.php?func=detail&aid=534577&group_id=103&atid=300103> 
is looking for a header (first line) in the response from spamd that 
contains at least 3 whitespace delimited words. If it doesn't get at 
least 3 words in the first line of the response, it throws the "not 
enough words in response header" exception which results in 
SpamAssassin.py assigning a score of -1.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list