Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] /var/milter-greylist/greylist.db

2006-06-22 by manu@netbsd.org

George Elgin <gelgin@...> wrote:

> a nice feature might be to to do an fstat on this file
> before the dump. for me i don't care if non-priveleged
> users read this and the dump is creating a new file 0600
> each time.

We could have a config file option to choose the mode...

> perhaps going a bit futher milter-greylist could detect
> changes before the dump and if so instead of dumping
> reinitialize the white/grey lists in memory. the idea of
> course would be to manually (or even programatically)
> manipulate the white/grey entries.

The in-memory and on-disk databases would always have conflicts, and
there is no easy way to resolve them.

If you want to alter the database, IMO, the right way is a command line
tool that would talk to the daemon through a Unix socket 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.