Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
1 Posts
1 Users
0 Reactions
1,354 Views
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2727
Topic starter December 4, 2023 12:20 PM
So my good old neighbor, somehow had the order of the mailboxes in Apple Mail moved around and we had no clue how to get them back in alphabetical order. To be clear: we’re talking about the folders in Apple Mail, and we’re not talking about the actual messages in those folders!
Oddly enough, Apple Mail does not have a menu option, or a right click option, to sort folders in the Sidebar.
Note that by default those folders are alphabetically sorted!
So how we get them sorted again?
-
Quit Apple Mail.
-
From the Finder, Select Go > Library and scroll down to the Mail directory. (~/Library/Mail)
-
Open the directory that starts with “V”, followed by the highest number.
It will be a number like “V9” or “V10” etc. (depends on the version of the Apple Mail application). -
Locate the right account directory …
In the “Vx” directory, there will be a series of other directories with long names, each representing a different email account.
They kind-a look like this: AF7ABD7D-6FBF-72E7-AB73-3BC12C25FAA8Note:
You may need to look inside each to see which one is the right account.
Look in the sub-directories (that end with “.mbox”) and see if you recognize folder names.
Usually those are sub-directories of INBOX.mbox, or [Gmail].mbox. -
Once you are in the correct directory, press the following keystroke to reveal hidden files:
Command + Shift + . (Note: that last one is a period) -
Now locate the file “.mboxCache.plist” and delete it
(you can of course also rename it, for example to “.mboxCache.plist.backup”). -
Once you’ve remove (or renamed) the .mboxCache.plist files of the affected mailboxes, you can open up Mail again.
The folders of that account should now be sorted again.
_Источник: www.tweaking4all.com _Мета слова: _