On Sat, 18 Dec 2004 21:14:05 +0100, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote: >Am Sa, den 18.12.2004 schrieb Steven Stern um 21:06: > >> >Here is what I have in mine (each line separated by a newline for clarity): >> > >> >dnl Milter-Greylist >> >INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')dnl >> >define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl >> >define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl >> > >> >dnl Clam AntiVirus milter >> >INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, >> >T=S:4m;R:4m')dnl >> > >> >dnl Spam Assassin milter >> >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 > >> Moving the CONNECT macro to after the spamassassin definition seems to have >> done it. THANKS. > >> Steve > >You don't want to limit the MILTER_MACROS, but you want to extend it. > >define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`, >{client_addr}, {client_name}, {client_port}, {client_resolve}') >define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}') > >That would be the more proper definition form. > >Alexander As usual, you fixed the problem. -- Steve