Yahoo Groups archive

Milter-greylist

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

Message

Re: How to whitelist with access.db?

2007-02-21 by Georg Horn

Hello,

Am Mit den 21. Februar 2007 um 15:35 Uhr schrieb Oliver Haufe:

> if you have the code to modify (access) the access.db directliy i would 
> look in to this and modify my code so that you have a patch that should 
> work in your environment - my pop before smtp works without modification of 
> the pop3 daemon (it reads the IP from the "messages" file and puts int into 
> the "access"  and calls makemap to inform sentmail.

My smtp-after-pop stuff is at http://koblenz-net.de/~horn/smtp_after_pop/
Within db.c you'll find how to insert or delete records into/from a db
file, and how to retrieve all records or a single record.

> i have tried to write and sendmail rule for this but the problem is if you 
> update sendmail.cf the risk is quite high to lose your ruleset, anyway - 
> the definitions for the access.db are in the classe C{Accept} - this class 
> is used in serval location of the CF file and hacking this might not the 
> best way. Also the stages are different - so milter does some checking 
> before the sendmail looks into the -.db.

So this access.db stuff does not work at all in the moment? Or is
anybody using it successfully?

I'm probably going to modify the pop3 server to update
milter-greylists config...

Bye,
Georg

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.