diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index da3eeb8..443dba4 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -207,7 +207,7 @@ sub rcpt { } elsif ($rc == DENYSOFT) { $msg ||= 'relaying denied'; - return $self->respond(550, $msg); + return $self->respond(450, $msg); } elsif ($rc == OK) { $self->respond(250, $rcpt->format . ", recipient ok");