2005-05-31 by Jack L. Stone
At 03:07 PM 5.31.2005 +0200, Martin Paul wrote:
>Hi,
>
>The README says that to use milter-greylist one has to set these
>in sendmail.cf:
>
> O Milter.macros.connect=j,{if_addr}
> O Milter.macros.envfrom=i
>
>Is this really necessary ? When not setting them, the default in
>sendmail.cf is set to:
>
> O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
> O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf},
{auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
>
>Not sure if I understand the libmilter docs correctly, and whether
>milter-greylist needs this exact settings. Is anyone running without
>setting Milter.macros ?
>
>Maybe the only real modifications that are needed for milter-greylist
>are {verify} when using STARTTLS and {greylist} when using access DB
>with milter-greylist.
>
>Thanks,
>
>mp.
>
My understanding is that any of those macro setting must include the
settings needed to run the various apps, including to accomodate
milter-greylist --
I have several milters running and use the ones below, which includes
thoses needed by milter-greylist. Without the macros, I get errors -- short
answer is to put in the macros when an app says it is needed to run properly.
define(`confMILTER_MACROS_CONNECT', `j, {daemon_name}, {if_name},
{if_addr}, {client_addr}, {client_name}, {client_port}, {client_re
solve}')
define(`confMILTER_MACROS_HELO', `{tls_version}, {cipher}, {cipher_bits},
{cert_subject}, {cert_issuer}, {verify}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_type}, {auth_authen},
{auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_add
r}')
define(`confMILTER_MACROS_ENVRCPT', `{rcpt_mailer}, {rcpt_host},
{rcpt_addr}, {greylist},')
Happy trails,
Jack L. Stone
System Admin
Sage-american