Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Question about sendmail.mc settings.

2005-06-10 by Dawn Keenan

> This will put different settings for confMILTER_MACROS_CONNECT and
> confMILTER_MACROS_HELO into my sendmailmc file.  I can't imagine that is
> a good thing.

I'm not a sendmail guru, the people at work think I am.

The MILTER_MACROS definitions say what information is passed from
sendmail to the milter when it is called at different stages of an SMTP
conversation.  You want each macro set to contain all information
required by each milter, so you would use

    INPUT_MAIL_FILTER(`clamav-milter', `S=local:/var/run/clamav/clamav-milter.sock, F=T,T=S:4m;R:4m;E:10m')
    INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')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
    define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
    define(`confMILTER_MACROS_ENVRCPT', `{greylist}')
    define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl

to be able to use all three milters.

--
Dawn Keenan
University of Waterloo, Waterloo ON Canada

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.