Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] p0f support

2008-09-25 by Michael Mansour

> Emmanuel Dreyfus wrote:
>  > On Wed, Sep 24, 2008 at 07:24:52AM -0400, Greg Troxel wrote:
>  > > I find milter-greylist's auto-rereading a bit aggressive, and 
> think it > > might be better to just do that on SIGHUP like inetd 
> and others. > > Then one could "/etc/rc.d/milter-greylist reload" or 
> ".. check". >  > We cannot: the milter API says libmilter takes care 
> of signals.
> 
> Just a small hint:  Besides signals, there are other
> ways for inter-process communication.  For example
> UNIX domain sockets, FIFOs, POSIX named semaphores
> or SysV semaphores.  Another, very simple way would
> be to use an empty "flag file", which milter-greylist
> uses to check the mtime instead of the actual conf
> file.
> 
> However, all of that doesn't solve the real problem:
> If the configuration file contains an error, milter-
> greylist will terminate.

This used to bother me the first few weeks of using milter-greylist, now,
every single time I make a change to the greylist.conf file, my next command
after saving that file involves a "milter-greylist -cf /etc/mail/greylist".

Get into the habit of doing that and the milter-greylist config error problem
goes away.

Regards,

Michael.

> Best regards
>    Oliver
> 
> -- 
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing 
> b. M. Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch\ufffdftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht 
> M\ufffdn- chen, HRB 125758,  Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb,
>  Ralf Gebhart
> 
> FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
> 
> "C++ is the only current language making COBOL look good."
>         -- Bertrand Meyer
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

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.