On Fri, Feb 23, 2007 at 10:24:57AM +0100, Oliver Fromme wrote: > You are right, I've just had a look at the documentation. > That's a serious design flaw in the milter API. :-( > Brain-damaged, if you ask me. Well, I'd just say that there is a missing feature: libmilter should call a handler in the milter when receiving kill -1 (for reloading config), or kill -15 (for terminating) > However, it seems like the xxfi_abort callback is called > when the milter is about to terminate. Is that correct? > Can't it be used for dumping the DB? Is it called? That'seasy to check, can you give it a try? > After all, the dumping upon SIGTERM _is_ working fine on > FreeBSD 6, so there must already be a way to do it. I use an atexit() hook. It works on some systems, but not all. Feedbacks have been mixed. > I just wonder why it doesn't work on some other operating > systems ... What's the problem with those OS? Do they > have a buggy POSIX threads implementation that doesn't > handle signals correctly? The question is: is the atexit hooks called when the process is killed by a signal? I'm not sure POSIX says anything about it. -- Emmanuel Dreyfus manu@...
Message
Re: [milter-greylist] dbdump command
2007-02-23 by Emmanuel Dreyfus
Attachments
- No local attachments were found for this message.