At Tue, 24 Oct 2006 08:32:29 -0400 (EDT),
Jeff A. Earickson wrote:
>
> 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?
Manu's patch was inappropreate. The value seems to be NULL.
Instead, try milter-greylist -v and look at a line like this:
Oct xx xx:xx:xx hostname milter-greylist: sm_macro "xx" {popauth}=XXXX nomatchMessage
Re: [milter-greylist] How to use sendmail db files?
2006-10-24 by AIDA Shinra
Attachments
- No local attachments were found for this message.