diff --git a/lib/Qpsmtpd/Auth.pm b/lib/Qpsmtpd/Auth.pm index 5e3abd1c..a73a10dd 100644 --- a/lib/Qpsmtpd/Auth.pm +++ b/lib/Qpsmtpd/Auth.pm @@ -104,12 +104,6 @@ sub get_auth_details_plain { return; } - # Authorization ID must not be different from Authentication ID - if ($loginas ne '' && $loginas ne $user) { - $session->respond(535, "Authentication invalid for $user"); - return; - } - return $loginas, $user, $passClear; }