535 Incorrect authentication data (set_id=admin)

jcarney1987

Verified User
Joined
Jan 21, 2012
Messages
12
I have a directadmin server running on centos 5.7 i386 openvz vps container and I am having an issue with mail. I get get my main admin account to authenticate to send mail. I've tried from outlook and then tried from squirrelmail. I've rebuilt exim with custombuild and I can't figure this out for the life of me. This is my log

[root@grace ~]# tail /var/log/exim/mainlog
adsl-x-x-x-x.dsl.okcyok.swbell.net (zion) [x.x.x.x]: 535 Incorrect authentication data (set_id=admin)
2012-01-21 08:58:38 login authenticator failed for adsl-x-x-x-x.dsl.okcyok.swbell.net (zion) [x.x.x.x]: 535 Incorrect authentication data (set_id=admin)
2012-01-21 08:59:17 login authenticator failed for adsl-x-x-x-x.dsl.okcyok.swbell.net (zion) [x.x.x.x]: 535 Incorrect authentication data (set_id=admin)
2012-01-21 09:03:02 login authenticator failed for adsl-x-x-x-x.dsl.okcyok.swbell.net (zion) [x.x.x.x]: 535 Incorrect authentication data (set_id=admin)
2012-01-21 09:03:03 login authenticator failed for adsl-x-x-x-x.dsl.okcyok.swbell.net (zion) [x.x.x.x]: 535 Incorrect authentication data (set_id=admin)
Now I can send and recieve email with any other account that I create just not this one.

home directory listing with permissions
[root@grace admin]# ls -l
total 20
drwx--x--x 2 admin admin 4096 Jan 15 16:32 admin_backups
drwxr-x--- 6 admin apache 4096 Jan 17 11:08 domains
drwxrwx--- 3 admin mail 4096 Jan 17 11:08 imap
drwxrwx--- 9 admin mail 4096 Jan 21 08:48 Maildir
lrwxrwxrwx 1 admin admin 38 Jan 17 11:08 public_html -> ./domains/domain.com/public_html
drwx--x--x 2 admin admin 4096 Jan 15 16:32 user_backups

And yes I've changed my password double check it and just to be sure rechecked it.

Any ideas?
 
Its a wild goose chase

After last night about 5 hours trying to figure this out I found the problems just mins ago. Don't change Directadmin accounts with the `passwd` command. Do it within directadmin. the `passwd` command doesn't update all needed files.

Problem solved.
 
Code:
cd /usr/local/directadmin/scripts/
./exim.sh
service exim restart

Fixed the same issue for me without having to change any passwords.
 
[SOLVED] 535 Incorrect authentication data (set_id=admin)

Code:
cd /usr/local/directadmin/scripts/
./exim.sh
service exim restart

Fixed the same issue for me without having to change any passwords.

This, as well as many other solutions, didn't work for me.

What *did* work was this:

- Log into DA as admin or reseller
- Under 'Server Management', click on 'Change Passwords'
- Enter the username for which sending mail fails
- Enter a temporary or new password (twice)

Optional:
- If you know the old password, change it back

Somehow, DA changes more than just the passwd and shadow files. After this change of passwords, everything worked fine. Changing passwords using a shell-session doesn't work in all authentication areas of the system, apparently.
 
Back
Top