Avatar of ivolach
ivolach
 asked on

SMTP testing with Telnet 'auth config' unseccessful

I am testing SMTP connection with telnet session and get 'auth login unsuccessful'
here is the session output:
ehlo
250-email server
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-X-ANONYMOUSTLS
250-AUTH LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW
auth config
504 5.7.4 Unrecognized authentication type
auth login
334 VXNlcm5hbWU6
XXXXXXXXXXXXXXXXXXXXX
334 UGFzc3dvcmQ6
XXXXXXXXXXXXXXXXX
535 5.7.3 Authentication unsuccessful

What am I missing?
Exchange* SMTP* telnet

Avatar of undefined
Last Comment
ivolach

8/22/2022 - Mon
Dr. Klahn

Since authentication was unsuccessful, some possibilities are:

* The username following the username challenge "VXNlcm5hbWU6" is incorrect or nonexistent.

* The password following the password challenge "UGFzc3dvcmQ6" is incorrect or nonexistent.

* Either the username or the password were incorrectly coded into base64.  Reconvert the username and password from base64 back into plaintext, and see if they match the credentials entered into the server's validation database for that particular user.

Side notes:

The EHLO is missing the sending site's name.  This causes many clients to reject the session ... and perhaps not immediately.  This may also be causing the rejection.

AUTH LOGIN is not secure unless the server is using SSL/TLS session encryption, and then it's still not very secure.  The username and password may be presented in base64, but that's still effectively plaintext.
ivolach

ASKER
base64 credentials are good, the same one are being used successfully to login to OWA
how/where do you encode the sending site's name?
ASKER CERTIFIED SOLUTION
ivolach

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ivolach

ASKER
I have found the solution elswhere
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes