Hello, I'm currently developing a plugin which tries to connect back to the client in order to check if it is a real smtp server.
The problem I'm having with this is timeout handling. If I configure a low timeout for my plugin (for the outgoing connection to the client), everything works well. However, if the plugin timeout is larger than the timeout on the clientside, it happens, that the client closes the connection and afterwards behavior of the plugin becomes clumsy. In fact, it logs something like this then: Mon Dec 17 23:09:02 2007 vl08s32[11280]: Could not print [450 Connecting host started transmitting before SMTP greeting ]: Connection reset by peer (including the newline after "greeting". This happens, I think, because the plugin tries to write back a message to the client telling it, that it has been rejected. But since the connection has already been dropped, the Qpsmtp response() method has no working socket anymore. So, here are my questions: 1. is it possible to access the current qpsmtp server timeout setting from a plugin, so that I can adjust the plugin timeout for outgoing connections according to this? 2. is it possible to access the actual socket object of the incoming client connection, so that I could check if it's still valid, like if($socket) {...} or somethink like that? kind regards, Tom PS: I already developed some new plugins, where could I publish them?