Yahoo Groups archive

Milter-greylist

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

Message

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

2006-10-25 by Jeff A. Earickson

On Wed, 25 Oct 2006, Bigby Findrake wrote:

> After having conducted some research, I've come to the conclusion that
> popauth db, like access db, is a map.  I don't think we can pass a map
> to a milter, only a macro.  It seems to me (again, no sendmail expert)
> that a macro could be likened to a variable, whereas a map seems to be
> more of a function.

Yes, it is a map.  Witness, on my mail server:

% /usr/lib/sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> /map popauth 134.181.129.111   (the IP number I was using for testing)
map_lookup: popauth (134.181.129.111) returns OK<OK> (0)
(cntl-D)

So maybe I was confused all along.  The manpage for milter-greylist 
indicates that the milter can access the hash/map db files that sendmail
uses.  Maybe this isn't true???

>
> Regardless, I totally agree with you Jeff, that munging the conf file
> is a hazardous proposition at best.  I think that the quickest path to
> success will be us finding someone who can write a sendmail ruleset to
> populate a macro (that we can then pass to the milter) based upon a
> lookup from a map.

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.