[Pymilter] Signal handling of miltermodule

Stuart D. Gathman stuart at bmsi.com
Tue Dec 13 14:51:40 EST 2005


On Tue, 13 Dec 2005, Stuart D. Gathman wrote:

> On Tue, 13 Dec 2005, Sami-Pekka Hallikas wrote:
> 
> > Is it possible to use signal handling with milter module?
> 
> No.  The libmilter C library eats them.  In some systems, it is
> possible to direct signals to a particular thread (e.g. a Python thread).  But
> this is not available everywhere.  This is a posix limitation.

Another possibility is to use a pure Python implementation of libmilter.
The difficulty is that there is no official documentation of libmilter
protocol (other than source code).  So it is still subject to change
without notice (assuming that libmilter will work around any 
incompatibilities).

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the Pymilter mailing list