Tips February 7, 2010 at 8:59 am

Alternate mail stores when upgrading from 10.5 Server to 10.6 Server

I know that this isn't completely tested to see if it is a consistent behavior, but I ran into an issue after upgrading a Leopard server to Snow. The server was running mail services utilizing both the standard spool location and an alternate mail store. 

 After the upgrade all seemed to be well, but we shortly discovered that the users who used the alternate mail store didn't have access to their existing mail. The users in the standard location were just fine.

 After poking around I saw that the alternate store contained two sets of user mail directories within the dovecot directory. One was named with the users shortname, ala Cyrus and the other used a GUID, ala Dovecot. Apparently during the upgrade the existing folders were converted to Dovecot format, yet new folders were also made. By renaming the folders with the shortnames to the GUID, proper functionality was restored to the users mailboxes.

 It was a simple fix, but it took some poking to figure it out. Also being new to Dovecot it took me longer than it probably should have to resolve. Hopefully this will save someone else some time. 

About Ben Greisler

Ben Greisler is a Certified Apple Consultant and Trainer based in the Philadelphia, PA metro area. He consults and teaches nationally, is a regular speaker at MacIT/Macworld and has co-authored server training material for Apple. He has worked on major Apple deployments both nationally and internationally for schools, government, and enterprise-level organizations. He can be reached at [email protected]

No Comments

  • With six upgrades under my belt my advice is do not upgrade use cyrus2dovecot.sh instead.
    Dovecot is a more forgiving mail program than Cyrus.
    A clean install is a better option.

Leave a reply

You must be logged in to post a comment.