Link to home
Start Free TrialLog in
Avatar of navolutions
navolutionsFlag for United States of America

asked on

I can't get my smtp to authenticate help!

I am pulling my hair out trying to figure out what happened to my mail server. I updated mysql from 5.0.88 to 5.5.6 and now I can't get my smtp to take my passwords. I can send mail if I login using webmail via squirrel mail. And I can get my email into my outlook but I can't send mail from outlook. I tried to use telnet to figure out what was happening. I set up my users password to test->encript in mysql tried the password every way possible under base64 test is dGVzdA== but it will not work.
334 UGFzc3dvcmQ6
dGVzdA==
535 5.7.0 Error: authentication failed: authentication failure

Open in new window

I used the following reference to setup the mail server http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-centos-4.8-i386
The only change was the version mySql. and everything works fine in webmail.
Avatar of Sudeep Sharma
Sudeep Sharma
Flag of India image

Check point 8 in below link and make sure that the option "My outgoing server (SMTP) requires authentication" is checked as shown

http://mail.google.com/support/bin/answer.py?answer=75291

Sudeep
Avatar of navolutions

ASKER

My outlook settings never changed outside what I was using prior to the update. I think the reason outlook is not getting the data is because I can't even telnet from the server to itself and authenticate correctly.
I found out how to debug the authdaemond http://www.courier-mta.org/authlib/README.authdebug.html and found the problem was because the pam_mysql.so was missing. Now the question is where do I get that file from since it didn't automatically install with the rpms
I found how to install pam_mysql.so and the final issue is the relm is not being forwarded into the user search, i.e I can make a user 'admin' and login as admin, but i can't login as admin@navolutions.com because the relm is not forwarded in the username field.
ASKER CERTIFIED SOLUTION
Avatar of navolutions
navolutions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial