0
Under review
SMTP Authentication Failing
After workingfor several weeks, i upgraded my digitalocean droplet from a 1gb ram to a 2gb or ram system. somehow this broke a few things even though nothing else actually changed, i seem to have everything else sorted except this. now n roundcube and all desktop mail applications i can no longer send mail out i get the error (435 SMTP Authentication Failure). any idea what migh tbe casuing this or how to fix it?
Customer support service by UserEcho
ok this is what i am seeing in there:
I ran # chown daemon:daemon on the socket file and it appears to be working again.
Update: I rebooted the server and it appears that /var/run/courier/authdaemon/socket was run as root:root again. Anybody have any idea how to make it so it is run as a different user:group when courier service starts?
May 29 22:21:58 serv-pbx authdaemond[6533]: received auth request, service=exim, authtype=login
May 29 22:21:58 serv-pbx authdaemond[6533]: authuserdb: trying this module
May 29 22:21:58 serv-pbx authdaemond[6533]: Unsupported authentication type: login
May 29 22:21:58 serv-pbx authdaemond[6533]: authuserdb: REJECT - try next module
May 29 22:21:58 serv-pbx authdaemond[6533]: authpam: trying this module
May 29 22:21:58 serv-pbx authdaemond[6533]: incomplete username or missing password
May 29 22:21:58 serv-pbx authdaemond[6533]: authpam: REJECT - try next module
May 29 22:21:58 serv-pbx authdaemond[6533]: FAIL, all modules rejected
Hi there,
I had the same issue. The phenomenon was that the permissions of the /var/run/courier/authdaemon/ folder was 750 after reboot. When I saved the mail configuration in ajenti it went properly (then it was 755). But after a new reboot everything was broken again....
So I searched for the init script of the courier-authdaemon and this led me to success.
This script overrides the permissions on every reboot.
In /etc/init.d/courier-authdaemon there is this line (around 39):
change it by:
save it, that's it!
Same problem, this one worked for me.
Thank you.
Same issue here and this fix resolved the issue. At least until I update courier. Is there a way to fix without needing to modify this script?
I believe the correct solution, for Debian servers, is to add the user Debian-exim to the daemon group.