On Tue, 7 Dec 2004, Thomas Cameron wrote:

> Hrm - that makes a lot of sense.  I am using spamass-milter (the latest
> from CVS as of about a week ago).
>
> I actually have the following at the bottom of my sendmail.mc:
>
> INPUT_MAIL_FILTER
> (`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl
>
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=,
> T=C:15m;S:4m;R:4m;E:10m')dnl
> define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name},
> {if_addr}')dnl
>
> INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-
> greylist.sock')dnl
> define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
> define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
>
> I just realized I have two confMILTER_MACROS_CONNECT definitions.  I
> don't think
> that that would cause this but I need to address this tomorrow after
> I've slept some.  :-)
>
> Thomas

Sorry, but that second "confMILTER_MACROS_CONNECT" -IS- what is causing
you all your grief.

In the m4 macro processing, last man wins, so that second
confMILTER_MACROS_CONNECT def is preventing sendmail from passing the
"_," macro to your milter which causes it to not feed SA a valid
'Received:' header.


-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to