[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: Damian Menscher
Subject: Re: Problem with upgrade from to 0.3.1
Date: Tue, 27 Jun 2006 09:13:15 -0500 (CDT)

On Tue, 27 Jun 2006, Steven W. Orr wrote:
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.
=>   Dan Nelson
=>   address@hidden

Dan I did some noodling last night but I'm really not good with C++. (I'm
ok with C.) I'm pretty sure that the milter is not sending a reject back
to sendmail.

Does it make sense to ask you to send me a better instrumented module to
trace what's going on in that part of the program? I was just using printf
statements but I suspect it would be better if all of the messages all
went to one place (like syslog or all to stdout). In the meantime, I'm
getting creamed here. :-(

Try running my milter_watch program [1] against it in debug mode, and it will show you the communication between spamass-milter and "sendmail" (my program plays the part of sendmail). This should give the info you're after.


Damian Menscher
-=#| <address@hidden> Ofc:(650)253-2757 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-

reply via email to

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