On my system I confirmed the symlnk error and command line correction suggested by rootami, which for now seems to have cured my Mail problem. It seems others who report that the fix must be reapplied every few days use the procedure suggested by DrewSchat.
Can anyone tell me if the fix suggested by rootami also need frequent reapplication, or does it last longer?
I have problems with Java and iPhoto which appeared at the same time as my problems with Mail. I looked and I think found a similarly trashed symlink. Here is my termial transcript:
new:Application Support ritch$ cd /Users/ritch/Library/Containers/com.apple.iPhoto/Data/Library/Application\ Support
new:Application Support ritch$ ls -lh
lrwxr-xr-x 1 ritch staff 46B Feb 9 19:16 AddressBook -> A|e?P?
-rw-------@ 1 ritch staff 10B Feb 18 13:25 A|e%8EP%B1
drwx------ 3 ritch staff 102B Feb 14 15:50 CrashReporter
lrwxr-xr-x 1 ritch staff 47B Feb 9 19:16 SyncServices -> ../../../../../Application Support/SyncServices
lrwxr-xr-x 1 ritch staff 41B Feb 9 19:16 iCloud -> ../../../../../Application Support/iCloud
drwxr-xr-x 3 ritch staff 102B Feb 9 19:20 iLifePageLayout
Can someone suggest a correction to these files, similar to what rootami suggested for Mail, to get iPhoto running again?
I realize iPhoto issues are off-topic for a Mail thread, but the issues seem related. Can anyone can rcommend a thread in which the common denominator of trashed sym links is discueesed?
my iPhoto is now trashing, too. Do a Get Info on ...
and see if the details list the Where and Original as the same path. If so, this might be your trashed link for iPhoto. (the original should be over in /Users/[NAME]/Library/Preferences)
I say might be because this hasn't fixed mine. I also found and repaired the link you mentioned in your post.
Incidentially, I am also having these types of problems with MS Office and am reinstalling that once or twice a week in addition to the Mail links getting trashed and now iPhoto.
I even went so far as to do a clean install using the migration assistant to bring back my user folder. That worked great for about 10 days and then it all started happening again.
If ANYONE has ANY IDEA as to what is causing all this misery for everyone then PLEASE SHARE. Thanks.
I've been trashing the com.apple.mail folder, but just tried the steps posted earlier in this thread:
$ cd ~/Library/Containers/com.apple.mail/Data/Library/Application\ Support
$ rm AddressBook
$ ln -s ../../../../../Application\ Support/AddressBook AddressBook
and it also worked.
Trashing the folder was solving the problem only for a short time. Will now see if the terminal command works any better...
I'm having similar problems, but my setup is different:
I've relocated the AddressBook folder to an encrypted image, which I mount after loging in (I'm encrypting selected pieces of my system in this way).
The AddressBook symlink in Library/Containers/com.apple.mail/Data/Library/
looks perfectly allright: AddressBook -> ../../../../../Application Support/AddressBook
However, since AddressBook in Application Support itself is a symbolic link:
AddressBook -> /Volumes/Encrypted/AddressBook,
that somehow messes things up. A symbolic link to a symbolic link should work?
The address book itself has no problems finding the contacts.
Even if I replace the link in the com.apple.mail container with a direct link to /Volumes/Encrypted/AddressBook, it doesn't work.
The ONLY thing that works is if the real AddressBook folder is put back in it's place.
Everything else (including removing the com.apple.mail folder before restarting Mail,
just makes the autocomplete show that spinner at the end of the address line.
And is there a button for manually inserting addresses? No.
This is very annoying. I just upgraded from Snow Leopard on a different computer, where it was
no sandboxing, and now problems.
Any further suggestions, anyone?