> Perhaps something like a "maxlifetime" control file for qmail-remote and

(Serendipity strikes again - I just posted sample code for this).

> qmail-smtpd?  At process startup, set an alarm for X seconds -- if the ALRM is
> received, abort the connection as gracefully as possible (i.e. try to send
> RSET and QUIT in qmail-remote, issue a 4xx error in qmail-smtpd) but quit
> regardless of whether these attempts to quit gracefully are successful or not.

Why bother with a graceful exit? You'd have to set yet another alarm
for the (likely) case that your graceful exit fails. That's seems like
unnecessary complexity for a connection that is almost certainly dead.


Regards.

Reply via email to