Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Get up to 16x more storage and 2x the speeds of the original drive
128GB Memory in iMac 5K

Up to 128GB for 2019 iMac 5K!
Up to 64GB for 2015/2017 iMac 5K

Save nearly 50% over Apple pricing

Relocating Mail Off the Boot Drive

Last updated 2010-09-06 - Send Feedback
Related: backup, how-to, optics

This is an advanced tip.

If you have moved your entire home directory, then there is no need to do this.

This trick lets you move your Mail folder out of your home directory onto your data volume. I’ve used this technique for years so that I can forget about having to back up my home directory (default location for Apple Mail) and simply back up my one data volume: Master. The same trick can be used for any similarly irritating program that insists on storing its data in your home directory, rather than giving you a choice (a few programs are too brain-dead for this to work). Programs like iTunes let you choose where to put your music; use that option.

Moving it

Your Apple Mail folder is in the Library folder of your home directory.

The trick requires starting Terminal. If that makes you uncomfortable, stop here! You are going to make a symbolic link.

0. Quit Apple Mail, and make a backup of your mail folder.
1. Copy the Mail folder to the top level of your data drive (or elsewhere, then modify step 3 appropriately).
2. Rename the original mail folder to Mail.old as an additional backup.
3. Start a Terminal window and type:

ln -s /Volumes/Master/Mail Library/Mail

This makes a symbolic link to the folder Mail on the volume Master (type the name of your volume, and use quotes around it if the volume name contains a space character). The resulting file Library/Mail is a tiny file that says “look over there on /Volumes/Master/Mail instead”.

From here on out Apple Mail won’t know the difference! Launch Apple Mail and verify that it worked. If you encounter problems, simply copy your backup back into place.

OWC Mercury Elite Pro Dual 16TB
Up to 24TB

FAST USB 3.1 gen 1 interface +
eSATA + RAID stripe or mirror or independent drives.

Confirm the change

Here, I’ve relocated mail to the volume Master:

diglloyd:Library lloyd$ ls -l
total 8
...
lrwxr-xr-x    1 lloyd  staff    20 Aug 29 12:47 Mail -> /Volumes/Master/Mail
...
Apple MacBook 12-inch, Mid 2017 (Current Model)

$1599 Only $999

1.3 GHz i5, 8GB, 512GB SSD
Apple Refurbished, Factory Sealed, Apple 1 Year Limited Warranty
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 21 hours unless noted. Certain deals may last longer.
$2797 SAVE $600 = 17.0% Nikon Z 7 Mirrorless in Cameras: Mirrorless
$2798 SAVE $400 = 12.0% Sony a7R III Mirrorless in Cameras: Mirrorless
$3498 SAVE $1000 = 22.0% Sony a9 Mirrorless in Cameras: Mirrorless
$898 SAVE $100 = 10.0% $164 FREE ITEMS Sony DSC-RX100 VA in Cameras: Point and Shoot
$1879 SAVE $1071 = 36.0% ZEISS 15mm f/2.8 Distagon T* ZE in Lenses: DSLR

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__