View Full Version : mail duplicating mailbox for admin user

Jan 22, 2011, 10:39 PM
I have a bad problem I can't seem to fix (for almost a year now). Thanks to Outlook, somehow a duplicate mailbox was created on the server for the admin user (me: gary). When mail is sent to gary@aspenridge.ca it is possible for it to end up in either of the two mailboxes in /var/spool/dovecot/mail. I manually (as root) deleted one of the mailboxes last year but every once in a while, the duplicate mailbox re-appears. Now, I should clarify that the mailbox is unique (has a unique name), however the owner is still listed as 'gary' twice. Here's the output of the directory:

aspenridge:mail gary$ ls -l
total 0
drwx------ 21 melody mail 714 Dec 26 23:05 19368C01-774D-42B6-B753-8621DD72251F/
drwx------ 17 enrique mail 578 Jan 20 14:21 2CFD6ABD-CABC-44C8-BA1A-82AB8CFF2AB4/
drwx------ 13 gary mail 442 Jan 20 14:39 7CF2BDA1-2890-4DA9-9953-41C3425FDF13/
drwx------ 17 nelly mail 578 Jan 20 13:08 BDA2D0D9-D21F-40FE-8C9E-DD868C750B1C/
drwx------ 22 gferrer mail 748 Jan 20 14:31 D1D3FF6F-CE36-4682-A31A-F1B7A0E62DF8/
drwx------ 11 tom mail 374 May 10 2010 E73B7452-101B-4ED5-B8C7-A9E7828288AE/
drwx------ 9 com.apple.calendarserver mail 306 Nov 22 2009 E7E8C925-5BDA-40B4-A6E1-0806C22F55D4/
drwx------ 16 gary mail 544 Jan 8 14:16 EDE561D8-F6F8-4C1F-A54B-210E5D60CD75/

As you can see, mailbox owned by 'gary' is there twice and this is a problem. I tried deleting the 'gary' user but the system won't allow me to (I think it's because it's the admin user originally created when setting up the system). Because I can't reliably receive mail as gary@aspenridge.ca, I had to create another user 'gferrer' instead and set 'gary' to forward mail to gferrer@aspenridge.ca in WM.

Any ideas what I can do here to fix the problem?