rnwood / smtp4dev

smtp4dev - the fake smtp email server for development and testing
BSD 3-Clause "New" or "Revised" License
2.94k stars 334 forks source link

login auth not properly verify? #1515

Open typenoob opened 1 month ago

typenoob commented 1 month ago

image image image

image

image

rnwood commented 1 month ago

Please can you grab the session log from SMTP4dev UI.


From: typenoob @.> Sent: Thursday, June 6, 2024 3:53:24 AM To: rnwood/smtp4dev @.> Cc: Subscribed @.***> Subject: [rnwood/smtp4dev] login auth not properly verify? (Issue #1515)

image.png (view on web)https://github.com/rnwood/smtp4dev/assets/61347081/2bd8bcda-c8d1-4b27-a50e-1d22ba7b2c2d image.png (view on web)https://github.com/rnwood/smtp4dev/assets/61347081/50c3a59b-6cc2-4a27-bcce-4ec1ed8a4b89 image.png (view on web)https://github.com/rnwood/smtp4dev/assets/61347081/b57967fe-1568-4949-b255-fe88ff2803bd

image.png (view on web)https://github.com/rnwood/smtp4dev/assets/61347081/fa1e026a-c997-44fb-b4d3-8dcb4aefb692

image.png (view on web)https://github.com/rnwood/smtp4dev/assets/61347081/1522415f-80fd-476c-950f-a11a5acda942

— Reply to this email directly, view it on GitHubhttps://github.com/rnwood/smtp4dev/issues/1515, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKEGFYKSQRN5PACS4TISGLZF7FKJAVCNFSM6AAAAABI33AJYCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTOMRQGU4TONA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

danrollason-dd commented 1 month ago

Hi. Just encountered the same issue sending an email from a go app. Our session log is

220 localhost smtp4dev ready
EHLO localhost
250-Nice to meet you.
250-8BITMIME
250-SIZE
250-SMTPUTF8
250-AUTH=CRAM-MD5 PLAIN LOGIN
250 AUTH CRAM-MD5 PLAIN LOGIN
AUTH PLAIN AG15c210cHVzZXIAbXlzbXRwcGFzc3dvcmQ=
535 Authentication failure
*
500 Command unrecognised
QUIT
221 Goodbye

Our log from the container is

Session started. Client address ::ffff:127.0.0.1.
SMTP auth failure: Cannot validate credentials of type USERNAME_PASSWORD
SMTP auth failure: Cannot validate credentials of type USERNAME_PASSWORD
Session completed. Client address ::ffff:127.0.0.1. Number of messages 0.
AlexGeller commented 2 weeks ago

The smtp server also don't support login mechanism verification. A( $UW 2IN4{U3HV2}Z$4F

LMVDG7}P86G4GZPZ5%NM71S