Yahoo Groups archive

Milter-greylist

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

Thread

milter-macro configuration?

milter-macro configuration?

2005-04-21 by fredrik.pettai@vattenfall.com

Hello!

The reason for my question is that i use some other milter-plugins which are depending on the other values supplied by some of the default milter-marcos (which gets stripped away if you follow the milter-greylist example).

Per default sendmail 8.13 gives me these milter-macros:

# Milter options
O Milter.LogLevel=12
O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
O Milter.macros.eom={msg_id}

In the milter-greylist README it's stated that you should change the milter-marco configuration to this:

> O Milter.macros.connect=j,{if_addr}
> O Milter.macros.envfrom=i, {auth_authen}
> 
> Alternatively, you can use the following m4 macros definitions 
> if you bouild sendmail.cf with m4 (contributed by Hubert Ulliac):
> 
> define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
>

My question is, isn't this unnecessary since those "variables" are supplied with the sendmail "orginal" milter-macros in sendmail.cf

Re,
/P

Re: [milter-greylist] milter-macro configuration?

2005-04-21 by Emmanuel Dreyfus

On Thu, Apr 21, 2005 at 10:59:59AM +0200, fredrik.pettai@... wrote:
> My question is, isn't this unnecessary since those "variables" are supplied with the sendmail "orginal" milter-macros in sendmail.cf

You are right: there is no need to alter the config if you already have
them.

-- 
Emmanuel Dreyfus
manu@...

Re: [milter-greylist] Re: milter-macro configuration?

2005-04-21 by Emmanuel Dreyfus

On Thu, Apr 21, 2005 at 09:38:49AM -0000, Elrond wrote:
> Shouldn't all that be handled by milter-greylist.m4?

It does if you do use it. Not everyone uses milter-greylist.m4 to generate
sendmail.cf

-- 
Emmanuel Dreyfus
manu@...

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.