smtp: AUTH LOGIN should follow ietf-draft more closely #311
Labels
bug
Something isn't working
hacktoberfest
PRs are requested to be eligible to participate in Hacktoberfest
hacktoberfest-accepted
PR has been accepted to participate in Hacktoberfest
WIP
Work is in progress
Description
During the discussion in https://github.com/mjl-/mox/issues/223 it was discovered that we are not following the
SMTP AUTH LOGIN
draft closely, but rather expecting a "MAY" implementation detail for servers.The draft states for clients:
For servers it recommends:
We are following the server recommendation and expected "Username:", "username:" or "User name\x00" (the same for passwords).
To Reproduce
Try "SMTPAuthLogin" with a server that does not send one of the expected responses. The client will fail authenticate.
Expected behaviour
The client should follow the I-D and ignore the server responses (or at least not fail if a different response is sent)
Screenshots
No response
Attempted Fixes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: