durusmail: quixote-users: ERROR_HANDLER in config.py
ERROR_HANDLER in config.py
2002-04-25
2002-04-25
2002-04-25
ERROR_HANDLER in config.py
Neil Schemenauer
2002-04-25
On Thu, Apr 25, 2002 at 08:16:04AM -0700, Titus Brown wrote:
> Incidentally, while we're on the topic of error handling, the default error
> mailing (calling /usr/lib/sendmail) cannot be safely used from inside a
> threaded program.

Why is that?

> It might be nice to provide a standard option to specify a mail server
> & then switch to using smtplib.

There is already a sendmail module with Quixote.  It should be easy to
make publish use that instead.

> --titus, who is quite cheerfully using Quixote from inside a threaded
>       server.

Interesting.

> p.s. Does anyone know if Apache 2.0 will execute under Linux in
> threaded mode?

I'm pretty sure it does but I haven't played with it yet.  Writing
mod_scgi for Apache 2 is also on my todo list.

  so-much-code-so-little-time-ly-y'rs Neil


reply