Issue 16: [patches for tls problem with unrecognized_command_response + bug in 
prefork for IO::SOCKET::INET]
http://code.google.com/p/smtpd/issues/detail?id=16

New issue report by [EMAIL PROTECTED]:
Patch for TLS / unrecognized_command_response Bug:

diff -upr qpsmtpd2.src.orig/lib/Qpsmtpd/SMTP.pm
qpsmtpd2.src/lib/Qpsmtpd/SMTP.pm
--- qpsmtpd2.src.orig/lib/Qpsmtpd/SMTP.pm       2007-05-30
17:49:54.000000000 +0200
+++ qpsmtpd2.src/lib/Qpsmtpd/SMTP.pm    2007-06-29 16:38:29.727407142 +0200
@@ -80,6 +80,7 @@ sub unrecognized_command_respond {
     elsif ($rc != DONE) {
       $self->respond(500, "Unrecognized command");
     }
+ return ($rc, $msg);
 }
 
 sub fault {

Patch for Bug in qsmptd-prefork:

@@ -114,6 +115,9 @@ GetOptions(
 
 $user  = $1 if ($user  =~ /(\w+)/);
 
+$re_nice =~ m/^([\-]{0,1}[\d]+)$/ or die "Renice Value $re_nice not 
OK\n";
+$re_nice = $1;
+
 # set max from ip to max number of children if option is set to disabled
 $maxconnip = $max_children if ($maxconnip == 0);

@@ -159,7 +163,7 @@ sub run {
       $d = IO::Socket::INET6->new(@Socket_opts);
     }
     else {
-      $d = IO::Socket::INET(@Socket_opts);
+      $d = IO::Socket::INET->new(@Socket_opts);
     }
     die "FATAL: Failed to start daemon.\nReason: $!\n(It may be nessesary 
to "
       . "wait 20 secs before starting daemon again)\n"


Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to