What signals a termination for smtpd filters?

I'm using the code at
Which works great, except for when smtpd gets shutdown. The script continues
to run and 
consumes up to 100% cpu time, while keeping the smtpd parent? process

I've tried adding a SIGTERM handler to the code which didn't work, as well
as I saw 
mentioned that the filter should exit on EOF, so I tried wrapping
parser.dispatch() in
a try/except EOFError and using sys.exit. That didn't work either.

I've read smtpd-filters, and looked at various other filters and I am not
what tells the filter to shutdown.


Reply via email to