Timo Sirainen wrote: > On Jun 22, 2008, at 4:52 PM, Eduardo M KALINOWSKI wrote: >> Hi, >> >> I'm using version 1.0.13 of dovecot. I know it's somewhat dated, but >> that's the latest that Debian etch offers, and I would like to avoid >> compiling by myself if possible. >> >> dovecot is not creating the 'maildirfolder' in folders that are >> created via IMAP. Looking at the NEWS file, this was implemented in >> v1.0.rc7, so my version should have that working already. Is there >> anything else that needs to be done? > > I haven't touched that code for a long time. I just tested with 1.0.15 > and it is created correctly. There isn't really anything in > configuration that should break it either.. Well, you could always see > if it gets created manually: > > telnet localhost 143 > x login user pass > y create testbox > > And then check again for sure that there's no maildirfolder in > /home/vmail/%d/%n/INBOX/.testbox/
I've made this test, and found out that the maildirfolder is created if there is no dovecot-shared file in INBOX/. But if there is, then it does not get created. > If there really isn't, you could see if strace shows something useful. > Before the testbox creation run "strace -p <pid of imap process>" and > post the output. I've done that, and apparently dovecot isn't even trying to create the maildirfolder file: Process 32277 attached - interrupt to quit gettimeofday({1214144259, 856957}, {240, 0}) = 0 gettimeofday({1214144259, 856996}, NULL) = 0 epoll_wait(4, {}, 3, 7450) = 0 gettimeofday({1214144267, 306066}, {240, 0}) = 0 gettimeofday({1214144267, 306107}, NULL) = 0 epoll_wait(4, {{EPOLLIN, {u32=135105032, u64=135105032}}}, 3, 10000) = 1 gettimeofday({1214144272, 528408}, {240, 0}) = 0 read(0, "4 create test3\n", 4096) = 15 setsockopt(1, SOL_TCP, TCP_CORK, [1], 4) = 0 stat64("/home/vmail/kalinowski.com.br/test/INBOX/.test3", 0xbf9350ac) = -1 ENOENT (No such file or directory) stat64("/home/vmail/kalinowski.com.br/test/INBOX/dovecot-shared", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0 umask(027) = 077 mkdir("/home/vmail/kalinowski.com.br/test/INBOX/.test3/cur", 0777) = -1 ENOENT (No such file or directory) mkdir("/home/vmail/kalinowski.com.br/test/INBOX/.test3", 0777) = 0 mkdir("/home/vmail/kalinowski.com.br/test/INBOX/.test3/cur", 0777) = 0 mkdir("/home/vmail/kalinowski.com.br/test/INBOX/.test3/new", 0777) = 0 stat64("/home/vmail/kalinowski.com.br/test/INBOX/.test3/tmp", 0xbf93505c) = -1 ENOENT (No such file or directory) mkdir("/home/vmail/kalinowski.com.br/test/INBOX/.test3/tmp", 0777) = 0 chown32("/home/vmail/kalinowski.com.br/test/INBOX/.test3/cur", -1, 8) = 0 chown32("/home/vmail/kalinowski.com.br/test/INBOX/.test3/new", -1, 8) = 0 chown32("/home/vmail/kalinowski.com.br/test/INBOX/.test3/tmp", -1, 8) = 0 open("/home/vmail/kalinowski.com.br/test/INBOX/.test3/dovecot-shared", O_WRONLY|O_CREAT|O_LARGEFILE, 0640) = 7 umask(077) = 027 fchown32(7, -1, 8) = 0 close(7) = 0 write(1, "4 OK Create completed.\r\n", 24) = 24 setsockopt(1, SOL_TCP, TCP_CORK, [0], 4) = 0 gettimeofday({1214144272, 529943}, NULL) = 0 epoll_wait(4, {}, 3, 4777) = 0 gettimeofday({1214144277, 305725}, {240, 0}) = 0 gettimeofday({1214144277, 305758}, NULL) = 0 epoll_wait(4, {}, 3, 1) = 0 gettimeofday({1214144277, 306737}, {240, 0}) = 0 gettimeofday({1214144277, 306767}, NULL) = 0 epoll_wait(4, {{EPOLLIN, {u32=135105032, u64=135105032}}}, 3, 10000) = 1 gettimeofday({1214144279, 474945}, {240, 0}) = 0 read(0, "", 4081) = 0 write(2, "\1IConnection closed\n", 20) = 20 epoll_ctl(4, EPOLL_CTL_DEL, 0, {0, {u32=135105032, u64=135105032}}) = 0 close(0) = 0 close(1) = 0 epoll_ctl(4, EPOLL_CTL_DEL, 2, {0, {u32=135099264, u64=135099264}}) = 0 munmap(0xb7f68000, 10336) = 0 munmap(0xb7e27000, 39884) = 0 close(3) = 0 epoll_ctl(4, EPOLL_CTL_DEL, 5, {0, {u32=135099168, u64=135099168}}) = 0 close(5) = 0 close(6) = 0 close(4) = 0 exit_group(0) = ? Process 32277 detached -- I bought some used paint. It was in the shape of a house. -- Steven Wright Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb