Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Solution for non executed final_dump()

2006-10-08 by AIDA Shinra

At Sun, 8 Oct 2006 16:55:08 +0200,
manu@... wrote:
> 
> <attila.bruncsak@...> wrote:
> 
> > I would like to provide a solution for a long standing problem.
> > On many platforms the final_dump() is not executed after
> > the milter-greylist has received a TERM signal.
> > With this patch the problem goes away,
> > at least on the Linux platform where I tested it.
> > On the Tru64 UNIX platform it was working before
> > and continues to work.
> 
> There is a problem with that patch: it violates the libmilter API. This says
> that signals are to be handled by libmilter itself:
> http://www.sendmail.org/doc/sendmail-current/libmilter/docs/overview.html
> 
Anyway, libmilter blocks the signals in the smfi_main() thread. The
mask is inherited by all descendant threads. Libmilter does not catch
the signals but picks them by sigwait().

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.