spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with upgrade from 0.2.0.0 to 0.3.1


From: Steven W. Orr
Subject: Re: Problem with upgrade from 0.2.0.0 to 0.3.1
Date: Mon, 26 Jun 2006 17:55:23 -0400 (EDT)

On Monday, Jun 26th 2006 at 10:00 -0500, quoth Dan Nelson:

=>In the last episode (Jun 26), Steven W. Orr said:
=>> The X-Spam-Flag: YES is set.
=>> 
=>> I'm wondering if this might be part of the problem:
=>> 
=>> Jun 26 09:03:36 saturn spamass-milter[4111]: Could not retrieve sendmail 
=>> macro "r"!.  Please add it to confMILTER_MACROS_ENVRCPT for better 
=>> spamassassin results
=>
=>No, that shouldn't hurt.  The "r" macro will contain either "SMTP" or
=>"ESMTP" and is just used to generate a fake Received: header that
=>matches the one sendmail will add if the message gets delivered.
=> 
=>> This is my sendmail setup:
=>> 
=>> INPUT_MAIL_FILTER(`spamassassin',
=>>     `S=local:/var/run/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
=>> dnl INPUT_MAIL_FILTER(`milter-regex',
=>> dnl    `S=unix:/var/run/milter-regex/sock, T=S:30s;R:2m')dnl
=>> define(`confMILTER_MACROS_CONNECT',
=>>         `b, j, _, {daemon_name}, {if_name}, {if_addr} ')dnl
=>
=>If you add another line to your .mc file:
=>
=>  define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl
=>
=>that warning should go away.
=>
=>Ad for your mail not getting blocked, try replacing the "-r -1"
=>spamass-milter option with "-r 10" temporarily, and see if mail scored
=>above 10 gets blocked.  If it is blocked, then I know the problem is
=>with the "-r -1" code.


This doesn't seem to be helping. I used -r 5 which is what I have SA set 
to tag things as. Here are a few syslog messages:

Jun 26 16:05:55 saturn spamd[3093]: spamd: result: Y 18 - 
BAYES_50,FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_SBL,URIBL_SC_SURBL
 
scantime=0.5,size=2998,user=root,uid=501,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=47975,mid=<address@hidden>,bayes=0.499999702776751,autolearn=spam
 
Jun 26 17:13:10 saturn spamd[8408]: spamd: result: Y 14 - 
BAYES_00,HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_SORBS_DUL,RCVD_IN_XBL,URIBL_JP_SURBL,URIBL_OB_SURBL
 
scantime=0.8,size=28016,user=root,uid=501,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=48259,mid=<address@hidden>,bayes=0.0035270614962728,autolearn=no
 
Jun 26 17:24:49 saturn spamd[8408]: spamd: result: Y 9 - 
BAYES_50,EXTRA_MPART_TYPE,FROM_LOCAL_NOVOWEL,HTML_90_100,HTML_IMAGE_ONLY_16,HTML_MESSAGE,MIME_HTML_MOSTLY,RCVD_IN_XBL
 
scantime=0.7,size=22796,user=root,uid=501,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=46210,mid=<address@hidden>,bayes=0.500013916669164,autolearn=no
 

So what I'm getting are scores of 18 14 and 9 and the messages just don't 
get rejected. Instead they get delivered. with the X-SPAM-FLAG set in the 
header. The thing that seems to be missing is the line that says:

Jun 24 12:54:29 saturn sendmail[6478]: k5OGsIZn006478: Milter: data, reject=550 
5.7.1 Blocked by SpamAssassin

(That was my last reject when I installed 0.3.1)

Is there any more debugging I could enable that would help provide more 
info?

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]