Cannot login with any account but main

Zebolt

New member
Joined
Apr 17, 2011
Messages
5
I am new to all this so I am grateful for any simplistic advice you can give me.

I am using DirectAdmin on a VPS (running Debian 5) and I am new to it. I have created a domain and the main account on the domain can receive email just fine, and I can log in with Thunderbird to fetch the mail.

Any additional accounts I create, however, cannot be logged into. I can see in the user list that if I send emails into them, the usage goes up, so obviously they do receive email. I just can't log into them, not with Thunderbird or via SquirrelMail. I do use the whole address as a username.

Any advice would be highly welcome.
 
Check your /var/log/maillog file for errors.

Jeff

Done. It said "Couldn't drop privileges: User is missing UID" and that user did not exist. But it does exist on the list of email accounts, and it seems to receive email (usage goes up) when I email its address (nor do those bounce). So I'm not sure what could be the issue....
 
Your problem is with a virtual email account, and that's not a user. the user is the account name for the account in which the domain has been created.

Is the actual username for the account found in your /etc/passwd and /etc/shadow files? If not you should probably do a backup and then delete and recreate the user account. If it is, then try simply restarting exim.

Jeff
 
Yes, the actual user account is found in /etc/passwd and I can log into it just fine. The problem is, as you said, with the virtual email account.

I have two different domains, and the user account for each works just fine with my email client. Tḧe trouble logging into IMAP begins with the virtual email accounts.

I tried restarting exim, but it had no effect.
 
Your /etc/virtual might be corrupted. Make sure, that dovecot is installed correctly and dovecot patches are aplied.

Post here results for

Code:
cat /usr/local/directadmin/data/admin/services.status

and

Code:
cat /etc/virtual/<any_real_domain_of_yours>/passwd

You might want to hide password hash and domainname, that's ok.
 
Your /etc/virtual might be corrupted. Make sure, that dovecot is installed correctly and dovecot patches are aplied.

Post here results for

Code:
cat /usr/local/directadmin/data/admin/services.status
directadmin=ON
dovecot=ON
exim=ON
httpd=ON
mysqld=ON
named=ON
proftpd=ON
sshd=ON

That is the output of the first one.

As for the second one, it produces the name of the virtual email account I created, followed by a hash key.

Code:
Here's what it says in /var/log/mail.log:
Apr 18 11:58:52 server dovecot: auth: shadow(EMAIL,IP): u$
Apr 18 11:58:52 server dovecot: auth: passwd(EMAIL,IP): u$
Apr 18 11:58:52 server dovecot: imap-login: Login: user=<EMAIL>, m$
Apr 18 11:58:52 server dovecot: imap(EMAIL): Error: user TRUNCATEDEMAIL$
Apr 18 11:58:52 server dovecot: imap(EMAIL): Error: Internal error$
 
That did it! All the emails work now. I even created a new one to make sure and it worked right off the bat.

What a load off my mind, I can finally focus on other things. Thank you!
 
Back
Top