Client IMAP folder duplication after upgrade to 10.8.2 server. Anyone know how to fix this?

Just upgraded my client's server from 10.6.8 to 10.8.2. It's a Mac mini 2.66Ghz. Now when I launch an email client on a computer on the network (Mail or Outlook specifically) I get multiple IMAP folders created i.e. Deleted Messages 1, Deleted Messages 11, Deleted Messages 111 etc ..... The console log for mail reports that the file names are too long but nothing about their creation. Has anyone seen this before and know how I can fix it?
Below is the server log:
Feb  1 09:49:03 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Deleted%20Messages%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:51:03 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Sent%20Messages%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:51:03 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Deleted%20Messages%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:53:04 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Sent%20Messages%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:53:04 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Deleted%20Messages%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:55:04 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Sent%20Messages%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:55:06 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Deleted%20Messages%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:57:03 mail.xxxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Sent%20Messages%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:57:04 mail.xxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Sent%20Messages%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%20 1%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Feb  1 09:57:04 mail.xxxxx.school.nz log[184]: imap(pid 15981 user xxxx): Error: fts: open(/var/db/dovecot.fts.update/xxxx.Deleted%20Messages%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201 %201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201%201, O_CREAT) failed: File name too long
Here is an image of what I am getting on the client:
Any assistance would be greatly appreciated!

Do those folders exist on the server?
You'll need to navigate into the mailstore folder via terminal.
With dovecot, all folders start with a "."
Do you see all of those dup folders?
Check permissions on your entire mailstore, everything should be owned by '_dovecot' and group 'mail'
You could reset perms of the mailstore (assuming default location of the mailstore) with:
sudo chown -R _dovecot:mail /Library/Server/Mail/Data/mail/

Similar Messages

Maybe you are looking for