- Open ~/Library/Mail/Mailboxes/[ARCHIVEFOLDER].mbox in BOTH finder and terminal
- In the Finder window, I copied the "Messages" folder to the desktop - and renamed it something a bit more descriptive (ie. "MailArchive-2000" or "MailArchive-2001")
- In the terminal window, I entered:
ln -s /Volumes/[DESCRIPTIVENAME] Messages, ie.ln -s /Volumes/MailArchive-2000 Messages - I opened DiskUtility, and created a New disk image from the folder on my desktop (File | New | Disk Image from Folder...). I made sure it was compressed.
Now, what this ended up doing was put all my messages in a compressed disk image on my hard drive. In Mail, the folder still shows up, and the message headers are all there cached - so I can even still search for messages based on "From", "To", or "Subject"... When I try to open a message in an archived folder, I get a message saying that I need to take the account online in order to read the message. When this happens, I simply double-click the corresponding image file, and it gets mounted, and I can access my messages easily.
Pretty Slick! If it weren't for Mail's smart way of handling offline folders, I think it would have been quite a bit harder. In addition, since I use compressed disk images, my old email messages end up taking up less than 50% of the original space on my disk....emails - being plain text - compress very nicely!
Maybe one day, if I'm REALLY ambitious, I'll write some kind of applescript that can do the whole thing for you....shouldn't be too hard. But I just don't have the time for it right now.
