Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple authentications are possible within one session #151

Closed
kayrus opened this issue Jul 22, 2021 · 1 comment
Closed

Multiple authentications are possible within one session #151

kayrus opened this issue Jul 22, 2021 · 1 comment
Assignees
Labels

Comments

@kayrus
Copy link
Contributor

kayrus commented Jul 22, 2021

v0.15.0

Current behavior:

220 my-server ESMTP Service Ready
EHLO localhost
250-Hello localhost
250-PIPELINING
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-CHUNKING
250-AUTH PLAIN LOGIN
250 SIZE
AUTH LOGIN
334 VXNlcm5hbWU6
***
334 UGFzc3dvcmQ6
***
235 2.0.0 Authentication succeeded
MAIL FROM: [email protected]
250 2.0.0 Roger, accepting mail from <[email protected]>
RCPT TO: [email protected]
250 2.0.0 I'll make sure <[email protected]> gets this
AUTH LOGIN
334 VXNlcm5hbWU6
***
334 UGFzc3dvcmQ6
***
235 2.0.0 Authentication succeeded

Expected behavior:

220 my-server ESMTP Service Ready
EHLO localhost
250-Hello localhost
250-PIPELINING
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-CHUNKING
250-AUTH PLAIN LOGIN
250 SIZE
AUTH LOGIN
334 VXNlcm5hbWU6
***
334 UGFzc3dvcmQ6
***
235 2.0.0 Authentication succeeded
MAIL FROM: [email protected]
250 2.0.0 Roger, accepting mail from <[email protected]>
RCPT TO: [email protected]
250 2.0.0 I'll make sure <[email protected]> gets this
AUTH LOGIN
503 5.5.1 Error: already authenticated

Reference: emersion/go-smtp-proxy#9 (comment)

@emersion emersion added the bug label Jul 22, 2021
@foxcpp foxcpp self-assigned this Jul 22, 2021
@foxcpp foxcpp closed this as completed in df83e63 Jul 22, 2021
@emersion
Copy link
Owner

Thanks for the fix, @foxcpp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants