To follow up with the answer to my own post:
You need to have a line like this:
define(`confINPUT_MAIL_FILTERS', `greylist,clmilter')dnl
in your sendmail.mc (or equivalent). I have two milters installed,
but the line above only had clmilter listed, so that was the
only one that ran. Once I modified to look like above,
now both milters are running.
Here's the entire excerpt from my .mc file for both milters:
--------------------- from my sendmail.mc ---------------------------
define(`confMILTER_LOG_LEVEL', 14)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
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `greylist,clmilter')dnl
------------------ end of excerpt from my sendmail.mc ----------------
The first line turns logging up so you see more messages in
/var/log/maillog. Remove it when you have things running correctly
so maillog doesn't get so big. (Thanks to Jack Stone for this
helpful bit.)
The last line was omitted from the sendmail example in the file:
http://hcpnet.free.fr/milter-greylist/README
If offered the chance, I would alter README to explain how to run two
milters.
Bill DudleyMessage
Re: FreeBSD install from pkg; is it running? -- yes, now
2004-08-31 by William F. Dudley Jr.
Attachments
- No local attachments were found for this message.