Friday, June 5, 2009

Mac OS X 10.5: A possible fix for Mail problems after 10.5 upgrade

When upgrading a Tiger machine to Leopard, there seems to be some circumstances that prevent the upgrade of Mail data from completing. You can recognize this condition by these symptoms:

* Message viewer window doesn't automatically appear
* All mailboxes are present but empty
* Activity Viewer shows connection attempt not proceeding

The Console logs can give some clues to the cause. Sometimes this is caused by conflicting or corrupt Junk Mail settings in the com.apple.mail.plist file.

The various values have changed in some version updates to Mac OS X. For some, it's the JunkMailInfoPanelHasBeenShown attribute. For me, it was changing JunkMailBehaviorHasBeenConfigured to false. Also, removing the JunkViewerAttributes setting seemed to be necessary. These can be changed using Property List Editor (installed with XCode developer tools), or it's possible it could be done in the Terminal with these commands:

$ defaults write com.apple.mail JunkMailBehaviorHasBeenConfigured false
$ defaults write com.apple.mail JunkMailInfoPanelHasBeenShown false
$ defaults delete com.apple.mail JunkViewerAttributes

No comments:

Post a Comment