On Apr 2, 2012, at 5:08 PM, LuKreme wrote: > On 01 Apr 2012, at 22:35 , Arno Hautala wrote: >> Can anyone relay what the Mail.app uses for a directory structure when >> including Gmail's "All Mail" folder? > > Mail.app uses a modified MH Mailbox Format structure for storing mail. This > is similar to the idea of Maildir, but has some notable differences. > > <http://wiki.dovecot.org/MailboxFormat/MH> > > While Maildir writes messages out with the timestamp as part of the name, MH > uses sequential names. > > So, for example, I have on my system the following structure: > > ~ > Library > Mail > V2 > [email protected] > INBOX.mbox > Sent Messages.mbox > A827C3EE-533E-4F49-8ED8-0B8FD9468989 > Data > 2 > 5 > 2 > 1 > Messages > 1252436.emlx > 1252948.emlx > 1252949.emlx > 1252950.emlx > 1252951.emlx > 1252952.emlx > 1252953.emlx > 1252954.emlx > 1252955.emlx > 1252956.emlx > 1252957.emlx > 1252958.emlx > 1252959.emlx > 1252960.emlx > 1252961.emlx > 1252962.2.emlxpart > 1252962.partial.emlx > > The long hex number is, I expect, "security through obfuscation" and I have > no idea what the significance of the .../2/5/2/1 structure is. The next > message would be named 1252963.emlx, assuming it was stored int he same > folder.
If you look at it backwards, the .../2/5/2/1 structure is your mail file name prefix backwards. Your mail files all start with 1252xxxx which is what that structure is read backwards. A cheap and easy way to sort into buckets by using the file system to do so for you. Chad _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
