Dovecot several problems

baggs1981

Verified User
Joined
Sep 18, 2006
Messages
66
Hi all..
I have a couple of DA servers.
On a brand new install I took the plunge and tried to convert to dovecot:
71 cd /usr/local/directadmin/customapache
72 ./build update
73 ./build update_dovecot
74 ./build dovecot
75 /sbin/service dovecot restart

I had a problem where it wouldn't load but resolved that via /etc/xinetd.d/imap and changing line to say disabled.

but now, even though it loads and is in pstree (now /var/log/maillog is completely empty even if ~I restart dovecot)

I can log in as admin which was there before converting and can send emails but can not receive them.

Created a new account after test@ and this can't even log in to webmail etc, just gives login error.

Please help as I understand there is no way back other then starting again and really don't want to have to do that as dovecot appears to give benefits (when it works:))
 
Ok, getting somewhere I think, rebooted server and now in the log file when I try webmail (either squirell or uebimiau) I can't get authenticated:

Jun 30 16:22:50 serv01 dovecot[6707]: auth(default): passwd-file /etc/virtual/batteryserver.net/passwd: User test is missing userdb info
Jun 30 16:22:50 serv01 dovecot[6707]: Logins with UID 0 not permitted (user [email protected])
Jun 30 16:22:50 serv01 dovecot[6707]: imap-login: Internal login failure: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

gona try a few different tests and will let you know
 
BTW I am also now getting

Logins with UID 0 not permitted

errors for all users that already had accounts on the server, this is via any webmail and outlook.
 
Hey,

Try restarting DirectAdmin.... If I remember right, I believe you get that error if DA did not pick up the change to Dovecot.

David
 
Hello,

the UID 0 is stored in the /etc/virtual/domain.com/passwd file.
Check that file. The UID/GID will be the 3rd and 4th columns, colon separated.

If it's 0, that's bad... check your /etc/passwd to check the UID/GID (same format) of the DA user you've created. If it's zero, then he has root access, which isn't allowed for most applications.

John
 
Nope, in /etc/passwd all users created before and after changing to dovecot have uid's over 100 as expected. and in the domian passwd files again none have 0 as the uid.

Whats next?
 
Hold on, exmple:

richard:$1$isAGWeHE$iTNdMHmut5Em9S7kun3EI0

I think this is wrong as can't see a uid in the line? this is taken from a passwd file from a domain directory (not /etc/).

Why would this occur?
 
Thanks that worked, I wonder why that is not a step on the dovecot howto install.

Only problem is that it seems I have to keep doing this for email to get delivered?
 
It should only need to be done once as part of the conversion process. After that DirectAdmi should manage all new accounts.

Jeff
 
Back
Top