Hi, I've found that qpsmtpd-prefork is not working in branch 0.3x
There is an issue with the quit.
When you send a quit command, the server is not closing the connection.
Thank's to lroland his work and his comments.
There seems to be missing 3 or four lines in
lib/Qpsmtpd/TcpServer/Prefork.pm
The svn code in TcpServer/Prefork.pm lacks the disconnect part
I'm attaching a little patch
Thanks
Saludos
--
Leonardo Helman
Pert Consultores
Argentina
------------------------------------------------------------------------------
diff -Naur --exclude .svn 0.3x.20060724.ORIG/lib/Qpsmtpd/TcpServer/Prefork.pm
0.3x.20060724.PRUEBA/lib/Qpsmtpd/TcpServer/Prefork.pm
--- 0.3x.20060724.ORIG/lib/Qpsmtpd/TcpServer/Prefork.pm Mon Jul 24 08:33:27 2006
+++ 0.3x.20060724.PRUEBA/lib/Qpsmtpd/TcpServer/Prefork.pm Wed Jul 26
11:45:59 2006
@@ -53,4 +53,12 @@
return 1;
}
+sub disconnect {
+ my $self = shift;
+ $self->log(LOGDEBUG,"click, disconnecting");
+ $self->SUPER::disconnect(@_);
+ $self->run_hooks("post-connection");
+ die "disconnect_tcpserver";
+}
+
1;
------------------------------------------------------------------------------