Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] How to use text lists to blacklist headers?

2010-08-27 by x

Fine. What about giving us an option to load a file at startup then?
You can put a warning saying a restart is required to read changes.
D
PS:
Sorry for the top post, i can't seem to do it otherwise in yahoo unless i copy the contents and mark line by line which is a pin.
From: Emmanuel Dreyfus
To: milter-greylist@yahoogroups.com
Sent: Fri, August 27, 2010 10:50:43 AM
Subject: Re: [milter-greylist] How to use text lists to blacklist headers?

On Thu, Aug 26, 2010 at 10:59:48PM -0700, x wrote:
> Just read the files at program startup just like everyone else does or
> when the program gets a HUP.

That's an old problem: libmilter takes care of signals. As I understand
it means milter-greylist cannot catch SIGHUP. I would appreciate
a callback for it in the API, but it did not happen.

The way it works now is that we stat(2) the config file on each
ACl evaluation, and if mtime changed, we reload it.

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