OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: A question about Milters and Thread Safety

From: Wietse Venema (wietseporcupine.org)
Date: Mon Sep 03 2007 - 13:27:25 CDT


Ronald F. Guilmette:
> Anyway, recently I got to wondering: Do milter programs that are
> only going to be used in conjunction with Postfix (and _not_ any
> other kind of mail server, e.g. Sendmail) really need to be thread-
> safe?

Yes, it needs to be thread safe. This means jumping hoops when
you maintain persistent data structures, global variables. It
also means you can't call functions that aren't thread safe.

        Wietse