On Sun, Oct 16, 2005 at 08:41:55PM +0300, Timo Sirainen wrote:
Please try if http://dovecot.org/nightly/dovecot-latest.tar.gz (or the CVS directly) works with you. I made a lot of changes to dovecot-auth, so I wouldn't want to make alpha4 release without some more testing in different environments. I'll release alpha4 in a few days, but it'll be basically same as this unless more bugs get fixed.
I've been running alpha3 without any problems. However, the alpha4 pre-release drops my connection after a "SELECT INBOX" and leaves this in the logs:
dovecot: Oct 16 14:20:15 Info: imap-login: Login: user=<glenn>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Oct 16 14:20:15 Error: imap(glenn): flock() locks not supported dovecot: Oct 16 14:20:15 Error: child 411 (imap) returned error 89
Here's truss output of imap:
read(0, " x s e l e c t I N B".., 4096) = 16 open64("/home/glenn/.inbox", O_RDWR|O_CREAT|O_EXCL, 0660) Err#17 EEXIST mkdir("/home/glenn/.imap/INBOX", 0770) Err#17 EEXIST stat64("/home/glenn/.imap/INBOX", 0xFFBFF468) = 0 time() = 1129488290 open64("/home/glenn/.imap/INBOX/dovecot.index", O_RDWR) = 4 alarm(120) = 0 write(2, "01 F f l o c k ( ) l o".., 30) = 30 _exit(89)
This looks like a locking issue on an index file. I had been leaving lock_method unset, letting it default to fcntl (inferred from the comments in dovecot-example.conf). I changed it to the explicit "lock_method = fcntl" and this fixed the problem.
Has the lock_method default changed from alpha3 to alpha4?
And is it proper to infer from the comment below in dovecot-example.conf that the default is supposed to be fcntl?
#lock_method = fcntl
Thanks, Glenn
-- Glenn Leavell glenn@usg.edu Office of Information and Instructional Technology Board of Regents of the University System of Georgia