Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: FreeBSD install from pkg; is it running? -- yes, now

2004-08-31 by William F. Dudley Jr.

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 Dudley

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.