On Tue, 2004-12-07 at 17:22 -0600, David B Funk wrote:
> 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.

Thanks a million for educating me on that - I have fixed it, rebuilt
senmail.cf and restarted the milters and sendmail.  I'm very interested
to see how that changes things.

Warmest regards,
Thomas

Reply via email to