How to duplicate a personal mailbox structure in Mail

I'm posting this because there may be someone else who wanted to do this but couldn't figure out a way to do it.
Ever wondered if there was a relatively easy way to duplicate a Personal Mailbox structure without creating every individual folder again? I keep my mail grouped by year and at the start of each new year I replicate the personal mailbox structure ready for the next year.  For example in my "2012 Mail" folder I have categories like Apple, Business, Family, Friends, Goverment.... etc and many of them have sub folders to further categorise.  I move messages from my inbox to those folders once I have dealt with them.
So now I wanted to create a duplicate strucutre for 2013.  There isn't a method in Mail to allow you to copy the folder structure.  If there was, I wouldn't be writing this.
If you have folders which define a category that covers mulitple years then you are probably not interested in this.
Caution:  You need to be confident with ferreting around folder structures and the way Mail works.  If you are not confident or this is all gobbledegook to you then don't attempt this.  Although I have listed the steps as carefully as possible, I take no responsibility if you mess it up.
To begin with I copied the folder  /users/<home>/Library/Mail/V2/Mailboxes/2012 Mail.mbox to the desktop.  (The <home> folder is the one on the left of your Finder window denoted by the "House" icon.)  Took a while becasue there was a lot of mail.
The next thing to do was to go through each of the folders and subfolders and remove the data (mail messages) thus leaving just the "shell" or structure. The message data uder each subfolder is nested in a folder that has a very long alphanumeric name.  The folder might look a bit like this which is what one of mine looked like 5F7900ED-92AF-4459-B261-921142309EFE.  Drag it to the Trash or Right click and select "Move to Trash".  There was a lot of deleting to do but it took only a few minutes.
Once I had my structure created and I had emptied the trash, I renamed the folder to "2013 Mail.mbox" and copied it back to my /users/<home>/Library/Mail/V2/Mailboxes folder.
At this point I closed Mail becasue I wanted Mal to pick up the new folder and make it visible in my Personal folder list
Next I had to make a hidden file visible so that I could remove it before I started Mail again.  If you simply run Mail expecting to see the new structure appear in your folder list.... you wont.
To make that hidden file visible I needed to fire up Terminal and enter the following commands (copy them and paste them in your terminal window)
     defaults write com.apple.finder AppleShowAllFiles TRUE
     killall Finder
The first command flags hidden files to be visible and the second command restarts Finder so that they can now be seen.
Back to folder /users/<home>/Library/Mail/V2/Mailboxes and now I could see a file named .mboxCache.plist (It is kind of greyed out to signify that it is a hidden file.)  I moved it to the Desktop.
I restarted Mail and a new folder appeared which had a very long name /Users/<home>/Library/Mail/V2/Mailboxes/2013 Mail.mbox so I renamed it to 2013 Mail.
Now to go back to Terminal and make the hidden files "hidden" again.  Type the following commands (or copy and paste them into your Terminal window)
     defaults write com.apple.finder AppleShowAllFiles FALSE
     killall Finder
Job done.
Hope that helps someone.
Chris

is there another way? or is it just not possible?
gr
Joeri

Similar Messages

  • How can I make personalized mailboxes like work, personal stuff on the ipad

    How can I create a folder or personalized mailbox to the mail feature on the iPad...... I have my email with verizon.....there is nowhere to press a plus sign to create a folder or mailbox for work related emails, personal emails, expense emails or such.....can anyone help me!!!!

    You can only create additional mailboxes if your email account is an IMAP account. You tell this by tapping on your account in the mailboxes window -  and in the window that shows your inbox, sent folder, trash folder, etc - there will be an Edit button at the top of that window. If there is no edit button - you do not have an IMAP account and you can't create new mailboxes. If the Edit button is there - tap on it and the tap New Mailbox at the bottom of the window.

  • How to change colour of mailbox containing new mail

    I have Thunderbird sort my incoming mail into various mailboxes based on various criteria.
    Until recently, when new mail arrived in any box, the title of that box (in the list, left hand pane) turned red - thus making it easy for me to identify which boxes needed my attention. For some reason this has stopped. The incremental number showing the number of unread messages still changes, but the title colour remains black.
    Anyone know how to change the behaviour to highlight mailboxes containing new mail please?
    Thanks..

    My point is that until recently the behaviour was automatic - it changed the colour of box names as amatter of course. This has now changed, wth all box names being in black whether or not there is new mail in the box.
    I receive a lot of mail and being able to quickly distinguish which box had received new mail would make life easier..
    I suspect there is a setting within Thunderbird to enable this but I'm damned if I can find it..

  • How to view messages in mailboxes while composing mail

    Now that I've installed Lion, I'm trying to make the switch from Outlook to the Mac Mail program.  But I'm having one frustrating annoyance, and maybe this is just the way macmail is.
    My dilema is this...when I'm in fullscreen mode and I'm composing an email, the message fills the most of the screen and I can not access, view, work with any of my other messages, unless I bring mail out of fullscreen mode, or I hit 'cancel' and save the draft. 
    Is there a way to move the email I'm composing out of the way so I can see my messages in my inbox or other mailboxes.  Many times I want to look back at something I wrote or received in an unrelated message.   But when I'm in full screen mode, I'm stuck. 
    Is there a tweak, trick, tip, etc. that can help me?
    Thanks

    There were a couple workarounds suggested in another thread.  IMHO, both are pretty good workrounds and I have a trackpad so, to me, the 2nd suggestion is a little less cumbersome.
    https://discussions.apple.com/message/15916795#15916795
    https://discussions.apple.com/message/16478334#16478334

  • How can I add extra mailboxes to organise mail?

    Help needed re adding mailboxes to icloud email account

    Go to the Mailboxes screen in the iOS Mail app (tap the top-left label a few times to get back there if necessary), click the Edit button top-right, scroll down to Add Mailbox... and follow through the steps.

  • HT1345 how can I set up new personal mailboxes

    How can I add personal mailboxes in addition to inbox, drafts, sent and trash?

    You can't do onything on the iPod. If youhave an IMAP or Exchange account, mail boxes you create in webmail or another program will be reflected on the iPod. If you have a POP3 account there is not way.

  • How do I move my mbox files to mail?

    I am in the process of moving my outllook files to my mac
    I used the program outlook 2 mac, I have the files on my mac desktop now I need to move them to my apple mail. I did the ical files and the contacts.
    but the mbox files are giving me a problem.
    Anyone?
    Thanks

    Hello,
    I am unable to confirm whether this program has been updated to conform to the new mailbox structure of Mail 2.0, versus earlier versions?
    If the O2M is expecting the need for a mbox structure, then try importing as Type Other -- this is the same as is needed for importing mailboxes from Mail 1.3 (or earlier), and might match what is being produced by O2M.
    If you already have lots of mailboxes in the Mail folder, that resulted from use of O2M, then another approach can be utilized to try and convert them all.
    More info, please.
    Ernie

  • Shared mailbox and personal mailbox showing identical content in Outlook

    I have one user on Outlook 2010 who has Full Access permissions to a shared mailbox. In OWA, everything looks fine, but in Outlook, the shared mailbox shows the contents of her personal mailbox instead of the content of the shared mailbox.
    If she views the shared mailbox's Inbox, it shows her the contents of her own Inbox instead of the shared mailbox. If she attempts to view the shared mailbox's Calendar, it shows her nothing at all. There are no error messages.
    I configured a separate Mail profile (via Control Panel) for the shared mailbox, and that works fine also.
    I deleted her Mail profile and all cached Outlook data, then created a new profile, and let Outlook recache all the data. Same problem.
    Any ideas what is going on or how to fix it?
    Blog /
    Facebook / Twitter

    Finally some moderately helpful info:
    The end user logs into a computer on an untrusted, foreign AD domain (domain2.com) using an account from that domain. She then logs into her Exchange mailbox in Outlook using her domain.com account.
    Every domain2.com computer she logs into gives her the same random mailbox mirroring problem.
    I had her log into Outlook on a computer on domain.com located in my office and leave it running for 3 days. Every time her Outlook client on her regular computer would start or stop mirroring mailboxes, she would let me know, and I'd check the computer
    in my office and find no problem.
    So the problem is something in the foreign domain or something that that domain's administrators are doing to the computers. Unfortunately, several other people on that domain are using mailboxes and shared mailboxes on my Exchange servers in the exact same
    configuration and are not having this problem. It is only this one user.
    I am pretty sure they are not using roaming profiles. I know they are not using mandatory profiles.
    Blog /
    Twitter

  • How to duplicate return of RFC.Exception Application error to test fix

    I am calling a RFC using a sync step in an BPM process. I am checking for system error and have an exception branch. However we got the below error (probably due to the ECC system not being available at that precise moment or something) which was not trapped by the exception alert handling because this comes in as an Application error and not a System error. My questions are :
    1) How to handle this return of .Exception message so that the BPM raises the alert in the exception branch? I have read in other threads that we need to assign the below message structure as the Fault Message and set this under the Exceptions property of the Synchronous send step. If this is true, I am mostly interested in the below question so I can test this.
    2) How to duplicate this issue? I am not sure when exactly the .Exception message is returned on a RFC call, this is not configured anywhere on the ABAP side.
    <rfc:ZRFC_GET_DATA.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
            <Name>RFC_ERROR_COMMUNICATION</Name>
            <Text>CPIC-CALL: CMRCV on convId: 01667803
                   LOCATION    CPIC (TCP/IP) on local host with Unicode
                   ERROR       connection to partner broken
                   TIME        Mon Mar 16 11:21:51 2009
                   RELEASE     640
                   COMPONENT   NI (network interface)
                   VERSION     37
                   RC          -6
                   MODULE      niuxi_mt.c
                   LINE        905
                   DETAIL      NiPRead (xx.xx.xx.xx/yyyy, hdl 64)
                   SYSTEM CALL recv
                   COUNTER     2
            </Text>
            <Message>
                   <ID>RFC_ERROR_COMMUNICATION</ID>
                   <Number>null</Number>
            </Message>
    </rfc:ZRFC_GET_DATA.Exception>

    Is the error resolved means that the RFC is working fine?
    I think this error due to the RFC destination set to Non-unicode which is expecting unicode option
    Check the R/3 machine whether it is unicode or not try to set the RFC destination option of unicode  in other way and check the error getting replicated or not
    Rajesh

  • New user created. How to create Central Person and Business partner

    Hi,
    I got a new users created in SRM 5.0 .how to create Central person and business partner.
    Without CP & BP we cannot work. please guide.
    Regards
    G.Ganesh Kumar

    HI GANESH
    As you aware , assign the user to organisation structure via users_gen , the system will create a BP and Central Person , Position and user for you.
    br
    muthu

  • HOW TO - Duplicate iWeb Page as a Template?

    January 19, 2006
    Hello:
    Do you know HOW TO
    duplicate an iWeb Page I make
    so I can use it again as a template?
    Thanks,
    JOHN
    800 470-4602

    John,
    No easy task with iWeb's file structure. It appears the sites are all stored together. If you create a second site, you'll see that it's not a new document, just a new heading in the Site Organizer column. Site info is stored in a package called "Domain" in UserName/Library/Application Support/iWeb. This contains all media. The pages themselves are most likely in index.xml.gz. I'm assuming template info and content have been compiled in the xml docs in this zipped file. Sorry that I have no better news.

  • How Can I Setup Generic Mailboxes?

    I am running a Microsoft Exchange 2013 Server on a privately owned and run Windows Server 2012 R2 system that has IIS8.
    Currently we have 4 users
    administrator@
    sales@
    stuart@
    arun.mathew@
    We need to create some generic mailboxes such as enquiries@ which both stuart@ & arun.mathew@ need to be able to receive messages sent to that mailbox and send out messages as that mailbox regardless of whether accessing from outlook 2013 on desktop,
    outlook web access or via their ipads/iphonesIf i set it up under the recipients tab then only the one person can access it as you cant forward messages from one mailbox automatically to more than 1 recipient via mailflow
    if setting up as a shared mailbox it works okay in outlook 2013 on the desktop but you cant see those messages in your outlook web access and cant see them on your ipad/iphone because ios says your duplicating an existing email account.
    so i need to know what is the best way of setting this up and how to do it.
    Stuart

    Hi ,
    1.As per my knowledge use of Set-MailboxSentItemsConfiguration is deprecated in exchange 2013, so we cannot achieve the below scenario.
    Scenario  : For example, we said that if UserA (the delegate) sends an e-mail AS UserB (the manager or shared mailbox), the e-mail goes into UserA’s Sent Items folder instead of the folder in UserB mailbox.
    Reference:
    http://www.msexchange.org/kbase/ExchangeServerTips/ExchangeServer2010/OutlookOWA/sent-items-behavior-shared-mailboxes-update.html
    http://www.msexchange.org/kbase/ExchangeServerTips/ExchangeServer2010/OutlookOWA/SentandDeletedItemsBehaviorinSharedMailbox.html
    2.Same time auto mapping feature will work only on outlook and also you need to auto map an user not to an group.
    Reference :
    http://exchangeserverpro.com/exchange-2013-grant-full-mailbox-access-user/
    So here the workaround would be to open the shared mailbox in owa by choosing the option open another mailbox .
    Please feel free to reply me if you have any queries.
    Thanks & Regards S.Nithyanandham

  • All The Notes and All my personalized Mailboxes and Smart mailboxes have disappeared

    When I woke up my MacBook Pro and wanted to check email, all The Notes and All my personalized Mailboxes and Smart mailboxes have disappeared.
    I only have the standard mailboxes like inbox, sent, trash, etc...
    Anyone can help with this?
    Thanks
    Short background:
    I have upgraded recently from Snow Leopard to Lion.
    I have lost a lot of software (and had to re-purchase licences and re-install it) but then I have said to myself BE IT! great that I did not lose critical stuff.
    I have also said that I will do the Time Machine back-up when everything is working fine....
    Well, I think I was a bit too quick with my statement and too slow with the back-up...
    Mugur

    You are not getting them from there, you just verifying if you have a back up with notes (you will have to check the date and try to remember if had those at that date and time.) Then you have two ways to go - the apple way and third party way.
    1 Apple way - restore from back up (downside is you going to lose changes to your phone since the last back up)
    be careful - not to overwrite last back up when you connect your phone, I would find and copy back up file just in case to external drive. You can find location of your actual back up file using that article
    http://support.apple.com/kb/HT4946
    if you expand where it says "where back ups are stored on the computer"
    how to restore from itunes back up here
    http://support.apple.com/kb/HT1766
    2. not Apple way.- there are programs for windows that allow you to look inside of actual back up file.
    Google is your friend for that one.
    If you don't like my results just adjust search to your liking.
    https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1_____enUS481US481&io n=1&ie=UTF-8#hl=en&safe=off&tbo=d&rlz=1C1_____enUS481US481&sclient=psy-ab&q=how% 20to%20look%20inside%20of%20iphone%20back%20up&oq=&gs_l=&pbx=1&fp=87ac1fa8918878 c8&ion=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.1357700187,d.aWM&biw=1280&bih=643

  • How do I delete VIP Mailbox?

    How do I delete VIP Mailbox?

    Right-click (or control-click) on the "mailbox" of the person you wish to remove and select "Remove from VIPs".
    Regards.

  • Mail Personal Mailboxes / folders wont display

    Hi
    I have recently upgrades from OS 10.4.11 to 10.5.6. After following a couple of discussions and Apple Support guides I have been able to get my Mail to open correctly with the Inbox, Send and Trash all ok, plus I can send and receive e-mail. But my own personal mailboxes and all the personal e-mails I have saved wont display. When I search : Home - Library - Mail - Mailboxes I can see all the mailboxes but what steps do I need to take so they will display in the mail viewer window again as normal mailboxes. I'd appreciate any help as I'm still a bit of a novice. Regards Peter H.

    Since the folders are all still there for the various accounts, move those folders to the Desktop, and use Import Mailboxes from Mail´s menus to reimport Apple Mail from those folders. In the future always backup your data as my FAQ explains
    http://www.macmaps.com/backup.html
    Also note, that IMAP accounts are stored normally on the server, and not on your Mac. Moving from POP to IMAP is dangerous initially if you don´t have the mail folders backed up. If everything you have on IMAP, then the server backups will help you, depending on how frequently your ISP backs up your messages. You can still though then create folders on your machine locally to copy messages you wish to keep.

Maybe you are looking for