Subject: | Duplicated AUTH command should return 503. |
Date: | Fri, 19 Apr 2019 09:38:36 +0000 |
To: | "bug-Net-Server-Mail-ESMTP-AUTH [...] rt.cpan.org" <bug-Net-Server-Mail-ESMTP-AUTH [...] rt.cpan.org> |
From: | Paweł Pabian <pawel.pabian [...] getresponse.com> |
RFC https://tools.ietf.org/html/rfc2554 says:
"After an AUTH command has successfully completed, no more AUTH
commands may be issued in the same session. After a successful
AUTH command completes, a server MUST reject any further AUTH
commands with a 503 reply."
However it is not possible to return 503 code from user callback
because callback result is checked only in boolean context.
IMO plugin should fill some internal variable after receiving positive response
from user callback. And do 503 error automatically on next AUTH attempts
within the same session.
--
Pawel Pabian
Senior Perl Developer
GetResponse.com