Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I use the following commend to access my gmail account in telnet:

openssl s_client -starttls smtp -crlf -connect smtp.gmail.com:25

then I login and receive an error:

auth login
334 VXNlcm5hbWU6
user "some base64"
334 UGFzc3dvcmQ6
pass "some base64"
535-5.7.1 Username and Password not accepted.

I'm sure my user name and password are correct. Is there something I'm missing?

share|improve this question

closed as off topic by jscott, Iain, Scott Pack, Ward, Sam Mar 15 '11 at 11:41

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Can you also try using SWAKS? jetmore.org/john/code/swaks –  adamo Mar 14 '11 at 6:21

1 Answer 1

up vote 0 down vote accepted

Try without the keywords user and pass, for example

auth login
334 VXNlcm5hbWU6
bm90bXlyZWFsdXNlcm5hbWU=
334 UGFzc3dvcmQ6
bm90bXlyZWFscGFzc3dvcmQ=
235 2.7.0 Accepted

Actually, VXNlcm5hbWU6 is Username: and UGFzc3dvcmQ6 is Password:, so no need to define your input.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.