I am running down a number of problems with my prototype mailserver. The problems come from the distant mail server droping the connection unexpectedly.
The most common problem is when the RCPT TO is sent to certain servers I get error 550 and the server drops the connection. Basically the connection is rejected by the server normally due to some kind of blacklist. They are supposed to complete the email sequence to properly then close the connection. Instead they simply drop the connection from their end which causes a series of errors while my server tries to complete the sequence from this end
Is there any way to to see if the connection has been closed other than waiting for an error from the connection.
The most common problem is when the RCPT TO is sent to certain servers I get error 550 and the server drops the connection. Basically the connection is rejected by the server normally due to some kind of blacklist. They are supposed to complete the email sequence to properly then close the connection. Instead they simply drop the connection from their end which causes a series of errors while my server tries to complete the sequence from this end
Is there any way to to see if the connection has been closed other than waiting for an error from the connection.
Comment