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?

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

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

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

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.

link|improve this answer
feedback

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