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

Fletcher Cocquyt fcocquyt at stanford.edu
Wed Mar 19 01:05:44 CET 2008


³Post by non-member to a members-only list² is the reason

If I grep the logs for a sample spam that is held instead of discarded, I
see:

god at smtp-02:logs 4:16pm 129 # egrep 1205885237 /var/log/syslog
Mar 18 15:46:46 smtp-02 sendmail[4047]: [ID 801593 mail.info]
m2IMkcDw004047: from=<d.carrillowd at dyckes.com>, size=1116, class=0,
nrcpts=6, msgid=<1205885237.1549 at dyckes.com>, proto=ESMTP, daemon=MTA-v4,
relay=[151.77.154.252]
Mar 18 15:46:46 smtp-02 spamd[2744]: spamd: checking message
<1205885237.1549 at dyckes.com> for dcs:555
Mar 18 15:46:58 smtp-02 spamd[2744]: spamd: result: Y 11 -
BAYES_99,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RDNS_
NONE,URIBL_BLACK,URIBL_JP_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL
scantime=12.2,size=1201,user=dcs,uid=555,required_score=5.0,rhost=localhost,
raddr=127.0.0.1,rport=36976,mid=<1205885237.1549 at dyckes.com>,bayes=1.000000,
autolearn=spam

god at smtp-02:logs 4:16pm 128 # egrep 1205885237 vette
Mar 18 15:46:58 2008 (18680) dcs post from d.carrillowd at dyckes.com held,
message-id=<1205885237.1549 at dyckes.com>: Post by non-member to a
members-only list

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 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 ­ any tips appreciated

Mark Sapiro wrote:

>Actually, it puts it second, but that should be good enough.
>What are the reason(s) why the messages are held?
>Did you restart Mailman after putting the above in mm_cfg.py?


On 3/18/08 3:17 PM, "Fletcher Cocquyt" <fcocquyt at stanford.edu> wrote:

> 
>> Hi, I am seeing the same issue from this thread:
>> http://www.mail-archive.com/mailman-users@python.org/msg41720.html
>> 
>> (spamassassin scores the email as spam (> DISCARD THRESHOLD), but mailman
>> still holds it for moderation) ­ and my moderators are asking ³don¹t we have
>> spam filters?!²
>> 
>> Doesn¹t
>> GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
>> put it first in the pipeline?
>> 
>> Thanks,
>> Fletcher.



More information about the Mailman-Users mailing list