On Fri, 2010-09-24 at 10:16 -0500, Mike Abbott wrote:
Hm, I found more revealing errors after sending that message. These are scrubbed a little differently, to show two user names:
Are these easy to reproduce?
imap(pid 5720 user user1): Error: open(/path/to/mail/user2/tmp/1285336854.M157825P5720.my.mail.server) failed: No such file or directory
Something deletes a saved/copied message before the transaction finishes..
imap(pid 5720 user user1): Error: Maildir: Symlink destination doesn't exist: /path/to/mail/user2/cur/1285336100.M879758P1166.my.mail.server,S=41045,W=41755:2,FS
What? A symlink? Dovecot doesn't create symlinks.
imap(pid 5720 user user1): Error: open(/path/to/mail/user2/tmp/1285335855.M242128P1165.my.mail.server,S=41045,W=41755) failed: No such file or directory imap(pid 5721 user user2): Error: Maildir: Found unwanted directory /path/to/mail/user2/cur/:2,FST, but rmdir() failed: Directory not empty imap(pid 5721 user user2): Disconnected: Internal error occurred. Refer to server log for more information. [2010-09-24 09:07:23] bytes=1268/173293
Oh! Now I get it. The entire tmp/ directory gets renamed to ":2,FST", not the new/ directory as I thought. Now, how can that happen..
Note that user1 != user2.
user1 is accessing user2's INBOX? I don't think it should make a difference though.
Seems like this might be caused by having: service imap { client_limit = 5 service_count = 0 }
I tried with that and e.g.:
imaptest logout=1 clients=4 imaptest logout=1 user=tss2 box=shared/tss/INBOX clients=4
Worked ok without errors in Ubuntu. I could try again on OSX when I get home.