smtp + admin + 535 Incorrect authentication data

pppplus

Verified User
Joined
Dec 19, 2008
Messages
526
Hi

Strange problem in one server.
I do not find what can be wrong !

I can't send message via SMTP connexion from admin account with Thunderbird.
No problem with other accounts on this server.

Today, I discover, that the problem is the same with squirrelmail or roundcube
I can connect to squirrelmail / roundcube and read my messages.

But when I want to send, I receive the error 535 Incorrect authentication data

in /var/log/exim/mainlog
2014-09-16 13:44:58 login authenticator failed for localhost (ns1crea.hb50.fr) [127.0.0.1]: 535 Incorrect authentication data (set_id=admin)

in /var/log/exim/rejectlog
2014-09-16 13:37:50 login authenticator failed for localhost (ns1crea.hb50.fr) [127.0.0.1]: 535 Incorrect authentication data (set_id=admin)


Do you have an idea of the problem ?

System :
CentOS 6.0 64-Bit
DA 1.46

Thanks for your help.
 
Hello,

You probably updated exim.conf and it nows does not allow relay from 127.0.0.1, so you need to use SMTP auth.
 
Did you change your admin's password recently in SSH? You need to change it in Directadmin, so to get all password files updated.
 
The password is good, because I can connect to the mail account to read message.
I've only problem to send message.
 
The password is good, because I can connect to the mail account to read message.
I've only problem to send message.

That does not mean that all the passwords are synced. Exim uses the $HOME/.shadow file for the password of a real user (like admin) but dovecot uses the system shadow (/etc/shadow) file. If you changed the password in an ssh shell then it would only change the system shadow file, changing it in DA will update both files.
 
Thanks toml

I change the passwords in directadmin, and all is now ok.

So you are probably right, I've probably changed something in ssh (I don't remember to do that).
 
Yes zEitEr, but I do not remember to have changed password in ssh.
But it's possible, and I don't understand passwords are not sync with directadmin.

Now, I understand.
 
I do not remember to have changed password in ssh.

Check history in admin and root console.

ProFTPd does use its own password file. Exim uses its own password file alongside with Dovecot for virtual accounts ([email protected]), and use shadow file for system account (i.e. username).

And if you use passwd to change password in a console, then the only file will be updated is /etc/shadow. It will affect only SSH and Directadmin login. Other services will still have old password. When you change a password in Directadmin web interface, then all password files get updated and synced. Or you should use change_pass.php from Directadmin scripts ( http://help.directadmin.com/item.php?id=426 ).

http://en.wikipedia.org/wiki/Passwd
 
Back
Top