SMTP Auth does not work (535 Error: authentication failed)

This is a discussion on SMTP Auth does not work (535 Error: authentication failed) within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi. Our SMTP server requires SMTP authentication and this works well in Outlook Express. However in a Telnet Session (and ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-01-2003
Friedhelm Budnick
 
Posts: n/a
Default SMTP Auth does not work (535 Error: authentication failed)

Hi.
Our SMTP server requires SMTP authentication and this works well in Outlook
Express.
However in a Telnet Session (and in my own software code as well), I always
receive
535 Error: authentication failed

Which are the right questions, that I should ask my external email provider
in order to identify and solve the problem??????


Thanks in advance
Friedhelm

My session looks like
220 p15122007.pureserver.info ESMTP Postfix
ehlo budnick
250-p15122007.pureserver.info
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250-AUTH=PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250-XVERP
250 8BITMIME
auth plain <VeryCarefullyEnteredMimeDecodedStringLikeUser\0Us er\0Pass>
535 Error: authentication failed
auth login
334 VXNlcm5hbWU6
<VeryCarefullyEnteredMimeDecodedUserName>
334 UGFzc3dvcmQ6
<VeryCarefullyEnteredMimeDecodedPassword>
535 Error: authentication failed






Reply With Quote
  #2 (permalink)  
Old 09-07-2003
Markus Hahn
 
Posts: n/a
Default Re: SMTP Auth does not work (535 Error: authentication failed)

Friedhelm Budnick wrote:

> Hi.
> Our SMTP server requires SMTP authentication and this works well in
> Outlook Express.
> However in a Telnet Session (and in my own software code as well), I
> always receive
> 535 Error: authentication failed
>
> Which are the right questions, that I should ask my external email
> provider in order to identify and solve the problem??????
>

What do you mean? Is this your own postfix server or
do you have this problem on your own box?

Normaly, you can set -v at the end of smpt string in /etc/postfix/master.cf
smtp inet n - n - - smtpd -v
and whatch /var/log/mail

The other thing is: Did you decode your string in base64 ?
Normaly you can make it with perl:
perl -MMIME::base64 -e "print decode_base64('user\0user\passwd\0');"

regards
Markus






Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0