You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What is the location of local MBOX files

I would like copy the local mailbox outside my macbook

MacBook Pro 13″, macOS 14.0

Posted on Oct 20, 2023 11:13 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 21, 2023 6:16 AM

Mail.app stores its data in ~/Library/Mail folder.


I use method a) to copy it to another Mac.


a) zip the ~/Library/Mail folder and copy it to the other account.


b) Or optionally in Apple Mail > Mailbox > Export Mailbox... But for some weird reason Mail.app can then export only up to 2.15 GB mailboxes so old messages are silently ignored! BTW, remember to choose "Export all subfolders" option, if necessary!


Then in another account:


Mail > File > Import Mailboxes... > Apple Mail > choose that ~/Library/Mail folder > choose all Items.


On the left-hand-side under "On My Mac" > Import, ..., look for and move "Local" and all mailboxes inside it up under "On My Mac". Right-click and you might delete "Import" folder (it has gmail mailboxes that are online). YMMV.

5 replies
Question marked as Top-ranking reply

Oct 21, 2023 6:16 AM in response to Juha_Antero

Mail.app stores its data in ~/Library/Mail folder.


I use method a) to copy it to another Mac.


a) zip the ~/Library/Mail folder and copy it to the other account.


b) Or optionally in Apple Mail > Mailbox > Export Mailbox... But for some weird reason Mail.app can then export only up to 2.15 GB mailboxes so old messages are silently ignored! BTW, remember to choose "Export all subfolders" option, if necessary!


Then in another account:


Mail > File > Import Mailboxes... > Apple Mail > choose that ~/Library/Mail folder > choose all Items.


On the left-hand-side under "On My Mac" > Import, ..., look for and move "Local" and all mailboxes inside it up under "On My Mac". Right-click and you might delete "Import" folder (it has gmail mailboxes that are online). YMMV.

Oct 22, 2023 2:43 AM in response to Matti Haveri

Yes, I got that eventually, thanks.


My suspicion is Time Machine restore played havoc with the MBOX files because after restore Mail just would not import (or was pretending to import, until in the end says: not enough free space, which far from the truth)


So after deleting the mailboxes from the library, Mail started normally. Being sceptic of all things digital, I had a very recent set of MBOX copies to import into Mail with no problems.

What is the location of local MBOX files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.