[Pymilter] Forking pymilter?
Dwayne Litzenberger
dwayne at oscl.ca
Wed Oct 24 14:38:59 EDT 2007
On October 24, 2007 12:10:36 pm Andrew Azarov wrote:
> Is there any way to make a forking python milter?
The milter API insists on having re-entrant, thread-safe milters. I had
oh-so-much fun writing a milter that uses python-ldap, which isn't
thread-safe in any meaningful way.
If you need to do something complicated, it might be easier to make a milter
that communicates with a separate daemon process over a Unix domain socket.
--
Dwayne Litzenberger, B.A.Sc.
Information Technology Analyst
Open Systems Canada Limited
1627 Broad Street
Regina, SK S4P1X3
Office: 306.359.6725
http://www.oscl.ca/
More information about the Pymilter
mailing list