Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] How to use sendmail db files?

2006-10-25 by Jeff A. Earickson

Manu,

I stuck the line below into macro.c.  Now I get beaucoup of:

milter-greylist: ...  me->m_macro = "{popauth}", value = "(null)"

in my syslog.  Good.  So I continued fiddling with the sendmail.cf
settings, eg:

# Milter options
O Milter.LogLevel=12
O Milter.macros.connect=j,{if_addr}
# O Milter.macros.helo={verify}, {cert_subject}
O Milter.macros.envfrom=i,{popauth}
O Milter.macros.envrcpt={rcpt_mailer},{rcpt_host},{rcpt_addr},{greylist},{popauth}
#O Milter.macros.eom={msg_id}

trying various settings for envfrom and envrcpt (I don't understand 
what happens here, so I don't know what I am doing).  Nothing that
I have tried in the Milter.macros gives me anything other than
value = "(null)" in the syslog lines.  Here is what some of the syslogging
looks like:

Oct 25 11:07:09 jasper sendmail-in[21282]: [ID 801593 mail.info] k9PF6kSB021282: POPAUTH RELAY 134.181.129.111
Oct 25 11:07:09 jasper milter-greylist: [ID 407512 mail.info] me->m_macro = "{popauth}", value = "(null)"
Oct 25 11:07:09 jasper milter-greylist: [ID 751384 mail.info] k9PF6kSB021282: addr a5198.bates.edu[134.181.129.111] from <jaearick@...> to <joeblow@...> delayed for 01:00:00 (ACL 144)
Oct 25 11:07:09 jasper sendmail-in[21282]: [ID 801593 mail.info] k9PF6kSB021282: milter=greylist, action=rcpt, reject=451 4.7.1 Greylisting in action, please come back in 01:00:00
Oct 25 11:07:09 jasper sendmail-in[21282]: [ID 801593 mail.info] k9PF6kSB021282: Milter: to=<joeblow@...>, reject=451 4.7.1 Greylisting in action, please come back in 01:00:00

When I did this test, the remote site (134.181.129.111) was already in the 
popauth.db file, and sendmail announces this via the "POPAUTH RELAY" syslog
line.  Then I get the null value from m_macro and get greylisted.

Is this issue a code bug or misconfiguration in the sendmail.cf milter.macros?
Now what?

Jeff Earickson
Colby College 
On Tue, 24 Oct 2006, manu@... wrote:

> Date: Tue, 24 Oct 2006 22:52:28 +0200
> From: manu@...
> Reply-To: milter-greylist@yahoogroups.com
> To: milter-greylist@yahoogroups.com
> Subject: Re: [milter-greylist] How to use sendmail db files?
> 
> AIDA Shinra <shinra@...> wrote:
>
>> Manu's patch was inappropreate. The value seems to be NULL.
>
> Well, let's make sure that it was really the debug message that wxas
> crashing it:
>
>        mg_log(LOG_INFO, "me->m_macro = \"%s\", value = \"%s\"\n",
>            (me->m_macro != NULL) ? me->m_macro : "(null)",
>            (value != NULL) ? value : "(null)");
>
>
>
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
>
>
>
> Yahoo! Groups Links
>
>
>
>

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.