Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] HUP to reread config file?

2006-10-12 by manu@netbsd.org

Jeff A. Earickson <jaearick@...> wrote:

> How does milter-greylist react to signals?  I sent it a HUP signal
> to reread the greylist.conf file, and it went away.  Oops.  Does
> this work?

Is there any volunteer to start the milter-greylist FAQ? That one is our
#1.

The milter API says libmilter catches the signal. milter-greylist cannot
use them. 
 
> It would be nice if a HUP reread the config file and another signal
> (SIG_USR1?) would dump the db file on demand.

config is reloaded when the two conditions are met
1) the file has changed
2) a new SMTP connexion reaches the FROM stage

The on-demand dump could be implemented by having a command line tool
communicating with milter-greylist through a socket interface. A good
idea for later.

-- 
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.