[Dovecot] imap service not working

LeVA leva at az.isten.hu
Sat Aug 26 23:40:38 EEST 2006


Hi!

I'm using dovecot-1.0.rc7 with pop3 and imap. The pop3 is ok, really, no 
problem at all. With imap, I have the following problem:
From the client side it looks like it logs in - logs out - logs in - 
logs out... can not see any emails or directories.
From the server side, I can see these in the logs:

dovecot: Aug 26 22:29:00 Info: auth(default): client in: AUTH   1       
PLAIN   service=IMAP    secured lip=x.x.x.x        rip=x.x.x.x
dovecot: Aug 26 22:29:00 Info: auth(default): client out: CONT  1
dovecot: Aug 26 22:29:00 Info: auth(default): client in: CONT   1       
AHRlc3p0AGxvZmFzeg==
dovecot: Aug 26 22:29:00 Info: auth(default): client out: OK    1       
user=teszt      MAIL=maildir:/
dovecot: Aug 26 22:29:00 Info: auth(default): master in: REQUEST        
30      15660   1
dovecot: Aug 26 22:29:00 Info: auth(default): master out: USER  30      
teszt   uid=8010        gid=8010        
home=/var/mail/virtual/teszt/Maildir/./
dovecot: Aug 26 22:29:00 Info: IMAP(teszt): Effective uid=8010, gid=8010
dovecot: Aug 26 22:29:00 Info: IMAP(teszt): maildir: data=/
dovecot: Aug 26 22:29:00 Info: IMAP(teszt): maildir: root=, index=, 
control=, inbox=
dovecot: Aug 26 22:29:00 Info: imap-login: Login: user=<teszt>, 
method=plain, rip=x.x.x.x, lip=x.x.x.x, TLS

These messages are repeating, but with an incrementing number:
"USER  30      teszt". This number after the 'USER' word increments with 
every login.
The user's mail directory has 770 perms, and owned by 8010:8010 (the 
teszt user's UID and GID). The cur/new/tmp folders gets created, but 
nothing more. The MTA on the server puts the messages inside the new/ 
folder, and I can get the mails with pop3 from the 'teszt' account. 
Only imap is acting funny.
This "infinite loop" happens with Thunderbird, but I tried it with KMail 
too. The latter says right after the login procedure: "The connection 
to the server IMAP Account was unexpectedly closed or timed out. It 
will be re-established automatically if possible."

Is there some script which makes the maildir folder "ready" for use 
(like the mkmaildir with courier imap), or is there some special file 
which I must put in it to make it work?

Thanks for the help!

Daniel

-- 
LeVA


More information about the dovecot mailing list