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 AIDA Shinra

At Wed, 18 Oct 2006 17:14:29 -0400 (EDT),
Jeff A. Earickson wrote:
> 
> On Tue, 17 Oct 2006, manu@... wrote:
> 
> > Date: Tue, 17 Oct 2006 21:50:50 +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:
> >
> >> Do I need to modify my sendmail.cf too, to add some kind of
> >> "O Milter.macros" line?
> >
> > As explained in greylist.conf(5), your sendmail.cf must contain a
> > Milter.macros.envrcpt which includes {popauth}. e.g.:
> > O Milter.macros.envrcpt={rcpt_mailer},{rcpt_host},
> >        {rcpt_addr},{popauth}
> >
> > Also, your macro definition needs to include the curly braces:
> > sm_macro "POP relay" "{popauth}" "OK"
> 
> I am still scratching my head over this issue, and I am wondering
> how to test my setup, without having access to a remote host account
> (offsite).  Is there any way to test milter-greylist (or any other
> milter) via sendmail itself?  I was experimenting with the following
> on my mail server:
> 
> % /usr/lib/sendmail -Am -bs -d64.5
> milter_set_option(LogLevel = 12)
> milter_set_option(macros.connect = j, {if_addr})
> milter_set_option(macros.helo = {verify}, {cert_subject})
> milter_set_option(macros.envfrom = i, {auth_authen})
> milter_set_option(macros.envrcpt = {rcpt_mailer},{rcpt_host},{rcpt_addr},{popauth})
> milter_set_option(macros.eom = {msg_id})
> milter_negotiate(greylist): version 2, fflags 0x1, pflags 0x372
> srvrsmtp.c:855: SM_ASSERT(q != NULL) failed
> Abort
> (hmmm, wonder what this is about???)

It is a known bug in sendmail 8.13.8.
http://www.sendmail.org/releases/8.13.8.php

Patch is available:
http://www.sendmail.org/patches/client_name.assert.p0

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.