[Top][All Lists]

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

Re: Problem with upgrade from to 0.3.1

From: Steven W. Orr
Subject: Re: Problem with upgrade from 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 - 
Jun 26 17:13:10 saturn spamd[8408]: spamd: result: Y 14 - 
Jun 26 17:24:49 saturn spamd[8408]: spamd: result: Y 9 - 

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 

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

reply via email to

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