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-24 by Jeff A. Earickson

On Tue, 24 Oct 2006, manu@... wrote:

> Date: Tue, 24 Oct 2006 01:19:05 +0200
> From: manu@...
> Reply-To: milter-greylist@yahoogroups.com
> To: Milter Greylist list <milter-greylist@yahoogroups.com>
> Subject: Re: [milter-greylist] How to use sendmail db files?
> 
> Jeff A. Earickson <jaearick@...> wrote:
>
>> I cannot get milter-greylist to whitelist anybody in the popauth
>> db, no matter what I do to greylist.conf or the sendmail.cf file.
>> I really need to get this working (and understand it).  Any good
>> reading on the milter macro settings above?
>
> It looks good.
>
> It seems you'll have to do some debug. In macro.c, look for macro_check.
> After the call to smfi_getsymval, add this
>
>        syslog(LOG_INFO, "me->m_macro = \"%s\", value = \"%s\"\n",
>            me->m_macro, value);
>
> And tell me what you get.

My setup: Solaris 10, sendmail 8.13.8, milter-greylist 3.0rc5.

I added this in, recompiled, reinstalled, restarted greymilter.  It dies
almost instantly, before I can get ready to test my setup with my test user.
I also tried "mg_log(LOG_INFO..." instead of a straight syslog call.
The syslogging I see is:

Oct 24 08:12:02 jasper sendmail-in[17978]: [ID 801593 mail.info] k9OCC2tS017978: Milter (greylist): init success to negotiate
Oct 24 08:12:02 jasper sendmail-in[17978]: [ID 801593 mail.info] k9OCC2tS017978: Milter: connect to filters
Oct 24 08:12:10 jasper sendmail-in[17978]: [ID 801593 mail.error] k9OCC2tS017978: Milter (greylist): write(D) returned -1, expected 23: Broken pipe
Oct 24 08:12:10 jasper sendmail-in[17978]: [ID 801593 mail.info] k9OCC2tS017978: Milter (greylist): to error state

Kaboom!  Now what?

Jeff Earickson
Colby College

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.