Hello!

Problem:
dispatch function in Preform.pm includes the function of unrecognized_command_respond in SMTP.pm. And unrecognized_command_respond is also in the hook.

So you get a double respond to unrec. commands if you use prefork.

Solution

Add to
lib/Qpsmtpd/SMTP/Prefork.pm

sub unrecognized_command_respond {
    my ($self, $rc, $msg) = @_;

 return ($rc, $msg) if ($msg !~ /^ARRAY\(/);
 return ($rc, @{$msg});
}

So it does nothing - even returing the needed arguments.

Stefan

Reply via email to