Backup imap folders hierarchy/tree

Hello,
I have some imap accounts (like mobileme) set up in Mail. I have, for those imap accounts, imap folders.
I would like to backup them every month. I can copy all mail from a imap folder into a local folder, but I have a folder tree like Folder1/sub-folder1/sub-sub-folder1 etc. So I am loocking for some "copy folder to local folder" capability in mail or with a third party app.
As I have around 60 folders/subfolders it is not a solution to recreate/add new folder locally each time I want to backup and go through each folder to copy the folder's messages to the corresponding local folder.
Also, to be able to do the reverse (ie move local folder tree to an imap account) would be nice.
Any advice ?
Marc
Message was edited by: Marcojxjx

Like DrClap said, plus...
No, the Message-ID is not guaranteed unique. Messages can have no Message-ID, two messages can have the same Message-ID,
and Message-IDs can change. All of these events are unlikely, but not impossible. Depending on how you're using the Message-ID,
this may or may not be an issue for you.

Similar Messages

  • Backup IMAP messages?

    What is a good strategy for backing up mail messages (and mailboxes) stored on an IMAP server, such as .mac? We have quite a few mailboxes, and thousands of messages for our small business.
    We have a few computers with synchronized access to the same .mac collection of mailboxes. A concern is that, in the event a mailbox or message on .mac's IMAP server is accidentally deleted, the deletion would be copied to all the other machines.
    So we would like to keep a backup.

    Thanks for the tip.
    My backup scheme for IMAP boxes (in panther OS X 10.3) is this:
    I drag an IMAP folder to the "on my mac" section, which appears to copy the messages in the folder, so they now exist in the IMAP folder hierarchy and on the 'on my Mac' hierarchy. I then drag the folder to the desktop, where it is saved in mbox format. I then delete the new folder I made, as I don't want both copies cluttering up the database.
    When I want to look for something, I import the saved mbox, or a folder full of mboxes, and they are automatically put in a folder called 'Import'. When I have found what I want, I copy it to another folder in the mail program, and delete the rest of the imported mailboxes.
    (However, Andreas Amann says you can't import mbox files in Tiger so this scheme may already be out of date if you don't want to use his work around.)
    another alternative, described by Fernando Schlot (Jan 15):
    Select all the messages in a mailbox. Choose 'save as' and choose the format you want. This saves a single pdf file with all the messages one after the other. This file can be searched as a normal file in the finder.
    The pdf format is smaller (3 mb for 140 messages, against 4 mb for the mbox format) but they can't be reimported.
    A third alternative (Schlot again) is to make a new user (call it something like Mailarchive2005, so you remember) and copy the ~Library/mail and ~Library/preferences folder to this new user. Now all your current mails should be in this new user space as well as your normal one. Go to the Mail Preferences/General, and switch 'checking new mail' to 'manually'. (This is to avoid current mail being downloaded automatically into your archive as you search for an old message.)
    Now you can clean out all the mails from your normal mail programme in your main user space and start afresh. When you want to find a mail from last year, just switch to the Mailarchive2005 user space, look for the email and redirect it to yourself. Switch back to your main user space and download the mail. Alternatively you can save it as a pdf to your hard disk, top level, where it will be accessible to both user spaces.
    I used this system with Outlook Express, where you can make new identities within the programme. Each year I made a new identity.
    powerbook G4   Mac OS X (10.3.8)  

  • Folders hierarchy alphabetically

    I have 2 more questions:
    1) I have to print the folders that I have in my account but alphabetically. I get the folders name but Aleatori, without sense(or I can't see the sense. I want the folders alphabetically because I want create a hierarchy tree. I get this:
    INBOX.Trash
    INBOX.Folder1
    INBOX.Folder3.Folder31
    INBOX.Folder2
    INBOX.Folder3
    INBOX
    INBOX.Folder1.Folder11
    INBOX.Folde2.Folder12
    INBOX.Folder1.Folder11.Folder111
    INBOX.Folder3.Folder31.Folder311
    INBOX.Folder1.Folder21
    For example, INBOX is the father of Folder1, and folder1 have two childrens, Folder11 and Folder21.
    I want to get this:
    INBOX
    INBOX.Folder1
    INBOX.Folder1.Folder11
    INBOX.Folder1.Folder11.Folder111
    INBOX.Folder1.Folder21
    INBOX.Folder2
    INBOX.Folder2.Folder12
    INBOX.Folder3
    INBOX.Folder3.Folder 31
    INBOX.Folder3.Folder31.Folder311
    INBOX.Trash
    Now I have this code but the result is aleatori.
    Folder [] folderlist = folder.list("*");
    for (int i=0;i<fodlerlist.length;i++)
    System.out.println ("Folder: " + folderlist.getFullName());
    I have another code with sort, but if I use that I lost another properties and I can't use the tabulations, the the method getParent().getName() or similar like thisjava.util.Collections.sort(lista);I need something to print alphabeticaly whit the first code, and I could use more methods(gerName, get parent..)
    2) The Message-ID of one mail is UNIQUE in all the servers of the world? It is imposible to receibe two emails with the same Message-ID in two differents accounts? It is important because I think that is is the unique identificator to differenciate two messages in the server, because the UID change when you move one mail to anther folder. This Id never change? I need one unique identifier and I need one identifier that never change.
    Thanks!!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Like DrClap said, plus...
    No, the Message-ID is not guaranteed unique. Messages can have no Message-ID, two messages can have the same Message-ID,
    and Message-IDs can change. All of these events are unlikely, but not impossible. Depending on how you're using the Message-ID,
    this may or may not be an issue for you.

  • Where can I find a tutorial about Show Folders Hierarchy?

    I have Permiere Elements 11 which also has the Elements Organizer as part of the program. And I have Photoshop Elements 10 also. The Elements Organizer with the video editing program is what I'm interested in though. I think my folder hierarchy is not right. I'd like to straighten it out but I don't know how. Can someone direct me to a tutorial on how to work with the Folders Hierarchy.
    This might be a different question, but it might be related to my confusion about the Folder Hierarchy in the Organizer. On June 10 I was copying some photos from my hard drive to the Organizer - probably a dumb thing to do. While I was doing this, the Pictures folder (View and organizes digital pictures) no longer took me to all my photos on the hard drive. The Pictures folder is under Personal Folder, Documents, Music, Control Panel on the Windows 7 desktop to the right of the Start Menus stuff.
    When I click on Pictures now I get two folders: Adobe and Pictures. The Adobe folder has these values - Size: 0 bytes; Contains: 0 Files, 1 Folder; Created: Monday, June 10, 2013; Attributes: Read-only (only applies to files in the folder. I deleted the Abobe folder several times but it keeps coming back.
    What I would really like to do is to restore my Pictures folder to its original state so that I will have access to all my hard drive photos immediately instead of clicking around in those folders. I vaguely think that something I did to the folder hierarchy in the Optimizer has messed up other things on my computer.

    You wrote, "So if you moved the files, what you need to do is move them back..."
    I don't know how to do this. Could you tell  me how. I moved about 50 photos into the Organizer. Now I know I should not have done this. I'd like to correct the mistake.
    When I click on the Show Folder List icon this is what I see:
    My Pictures
         Pictures
              Faces
                   Clowns
         My Videos
         Computer
                   C:
                   Program Data
                   Users
                        Tommy
                              Faces
                                   Dancing
                                   Faces
                                   Lovers
                                   Racing
                                   Tommy
                         Pictures
                  D
                  E
                  F
                  G
    This makes no sense to me. But I could live with it - except perhaps something I did has made my PrE11 impossible to work with. When I put new clips via the memory card into the program, they do not go into the Timeline. All I get is an error message.
    I like the Adobe programs and don't want to give up on them, especially since my problems probably have been self-imposed.

  • How can I backup individual folders and not the whole disk?

    Hi Folks,
    I want to only backup specified folders with TM, just my iPhoto Library and some bits n pieces but notice it only gives the option to backup or exclude whole hard discs.
    Does anyone know a workaround for this?
    Thanks
    B

    just my iPhoto Library and some bits n pieces but notice it only gives the option to backup or exclude whole hard discs.
    In the TM preferences you would need to exclude all the files and folder you didn't want to back up.

  • How can I rearrange IMAP folders with multiple accounts in Mail?

    Hi all,
    I switched to the Mac in 2004, but I've never really used Mail (been using Entourage). I set up an IMAP account in Mail, and was very impressed. So I decided to set up my other IMAP account, too. Now things are a bit messed up. I have these folders
    Inbox
    Drafts
    Sent
    Junk
    Trash
    Email1
    Email2
    Under Email1 and Email2 are all the IMAP folders for the respective email address, except Inbox, Drafts, Sent, Junk and Trash are separate, and each of those folders has a folder in it called Email1 and one called Email2. How can I change this so that I just ahve the Email1 and Email2 folders, and everything appears under those?
    On a less important note, is there any way to make Mail ignore IMAP folders? My email server creates a folder called '.mailboxes' for each IMAP account, and just stores some of its information in there, nothing I want in Mail. So is there a way I can hide this .mailboxes folder?
    Thanks in advance

    Hi mr max pie whatever.
    This is actually one of Mail’s best features and cannot be changed.
    Instead of grouping mailboxes by account, Mail groups them by purpose first (and uses the account name to differentiate the individual mailboxes associated with each account), then groups by account the remaining mailboxes that don’t belong to any of the standard groups.
    This has the advantage of letting you choose at any time, and independently for each mailbox type, whether you want to look at your Inbox, Sent, Trash, etc. mailboxes as if you had just one of them shared by all accounts (i.e. an aggregate), or look at each of the corresponding individual mailboxes separately.
    As to the “.mailboxes” folder that you’d rather not see there, I believe Mail shouldn’t show it if the name begins with a period. Moreover, I’ve troubleshooted a few cases where the problem was the opposite, i.e. the user had renamed a mailbox with a leading period and it became inaccessible as a result. I don’t know why Mail behaves so inconsistently in this regard. If all the server-stored mailboxes were subfolders of a parent folder, you could solve the problem by typing the name of the parent folder in Preferences > Accounts > Advanced > IMAP Path Prefix...

  • Outlook Connector - Unable to view messages in IMAP folders

    Hi,
    I am trying to get the outlook connector (version 7.2.310.1) and it is fine for collecting mail, calenders etc.
    The problem I am having is with IMAP folders.
    I have a message rule set up through the webmail view that moves mail with [-SPAM-] in the subject (picked up by our edge filters) into the Junk Email folder. This rule works fine, I can view the messages in there through webamil, if i log in over IMAP using thunderbird or whatever I can see the messages...
    The problem is that through the outlook connector, there are no messages in there. The folder exists, I can copy messages in there using outlook and they are visible, but all the mail that is there already is effectively invisible?
    Any ideas or have I just missed something?
    Josh

    Hi,
    I have a message rule set up through the webmail view
    that moves mail with [-SPAM-] in the subject (picked
    up by our edge filters) into the Junk Email
    folder. This rule works fine, I can view the
    messages in there through webamil, if i log in over
    IMAP using thunderbird or whatever I can see the
    messages...
    The problem is that through the outlook connector,
    there are no messages in there. The folder exists, I
    can copy messages in there using outlook and they are
    visible, but all the mail that is there already is
    effectively invisible?Are the messages you copy via Outlook visible via IMAP (Thunderbird) or webmail?
    Have you tried re-syncing the folder, to do this:
    1. Within Outlook, right-click on the folder
    2. Select "Properties"
    3. Click on the "Advanced" tab
    4. Click on "Empty and resync" button.
    Regards,
    Shane.

  • I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help?

    I just reset my apple ID password and now all the imap folders in Apple Mail are greyed out. I can see the contents, but I don't get whay the folders are all greyed out. Can anyone help? Sorry for the long title on this message...

    Assuming this is an iCloud mail account, sign out of iCloud in its preference pane, then sign back in with the new password.

  • Hierarchy tree with XML attributes in jsp

    hi,
    i need to build a hierarchy tree. data(parent and child) should be read from xml file. data is attributes of nodes in xml. i need to write the JSP code for above functionality. please help me. thanks in advance.

    Check this link for further details.
    http://www.dpawson.co.uk/xsl/sect4/N10301.html
    http://www.devx.com/getHelpOn/Article/11874
    The solution is based on XSLT approach. That can be still converted in other server side technologies.
    Regards,
    Vikrant.

  • How to create a hierarchy Tree

    Oracle Forms 6i
    Hai All
    Could Any Tell me the steps to create a hierarchy tree in oracle forms
    My table is employee_master and fields are
    Empcode number ,
    Empname varchar,
    deptcode number,
    gradecode number and etc
    Here i need to create a tree with Deptcode in that every employees are seperated by grade code
    Thanks In Advance
    Srikkanth.M

    Dear,
    If you get any problem while creating tree, will help you step by step.....
    Thank you,

  • Mail - IMAP folders not showing up in folder list

    I have several mac mail imap folders and a few of them are not showing all imap folder - yet I can use move to folder to move emails to that folder.  Any ideas?

    Check on the IMAP settings (Gmail.com) that Pop is disabled.
    It should be in the IMAP/Mail forwarding section.
    When it is enabled, folders do not show up in mac mail

  • Frm-47313 Invalid Query for Hierarchy tree

    Hello. i am trying to create a hierarchy tree with the following query:
    SELECT 1, level, n.name, null, hn.nde_id
    FROM cerpt_nodes n, cerpt_hierarchy_nodes hn
    WHERE n.id = hn.nde_id
    AND hn.hir_id = 1
    CONNECT BY PRIOR hn.nde_id = hn.nde_id_parent_of
    START WITH hn.ntp_code='ROOT';
    I check the table and column names, they are correct. I tried to create tree with scott.emp table, I have no problem. The only different is this query has nested tables and where clause. Is that I cannot use WHERE clause and nested tables? Can anybody tell me what I have done wrong? Thank you very much

    I had problems with joins in the same SQL statement using the Connect Prior By statement. Try creating a view over your nested tables then create the SQL statement for the tree using the view.
    I ended up having a lot of problems using the tree control. I ended up modifing my database design to accomodate the short falls of the Connect Prior By statement.
    Hope this helps.
    Jamie

  • Hierarchy tree in oracle forms problem

    Hello Experts,
                         I am new in oracle forms.I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have two table as tbl_country and tbl_state.I have to make a hierarchy tree in oracle forms.My table structure as:
    tbl_country
    CREATE TABLE "SCOTT"."TBL_COUNTRY"
       (    "CNTRY_CODE" NUMBER NOT NULL ENABLE,
        "NAME" VARCHAR2(80 BYTE),
         CONSTRAINT "TBL_COUNTRY_PK" PRIMARY KEY ("CNTRY_CODE")  
    tbl_state:
    CREATE TABLE "SCOTT"."TBL_STATE"
       (    "SATE_CODE" NUMBER NOT NULL ENABLE,
        "COUNTRY_CODE" NUMBER NOT NULL ENABLE,
        "STATE_NM" VARCHAR2(80 BYTE),
         CONSTRAINT "TBL_STATE_PK" PRIMARY KEY ("SATE_CODE")
         CONSTRAINT "FK_CNTRY_STATE" FOREIGN KEY ("COUNTRY_CODE")
    Table Date as:
    insert into tbl_COUNTRY values(0,'country ');
    insert into tbl_COUNTRY values(91,'HHH');
    insert into tbl_COUNTRY values(72,'III');
    insert into tbl_COUNTRY values(83,'JJJ');
    insert into tbl_state values(1,'state',0);
    insert into tbl_state values(2,'BH',91);
    insert into tbl_state values(3,'CI',72);
    insert into tbl_state values(4,'DI',72);
    insert into tbl_state values(5,'EH',91);
    insert into tbl_state values(6,'FI',72);
    insert into tbl_state values(7,'GJ',83);
    insert into tbl_state values(8,'HJ',83);
    insert into tbl_state values(9,'IH',91);
    Desired Output in oracle forms tree:
    |__Country
             |____HHH
                       |____BH
                       |____EH
                       |____IH
             |____III
                      |__CI
                      |__DI
                      |__FI
             |____JJJ
                       |__GJ
                       |__HJ
    I Have tried but got no output
    select
    1 ,level, esm.name,NULL,to_char(esm.CNTRY_CODE)
    from   (SELECT c.name,c.cntry_code from TBL_COUNTRY c union all select s.STATE_NM,s.COUNTRY_CODE from tbl_state s) esm
    connect by prior esm.CNTRY_CODE = esm.CNTRY_CODE
    start   with esm.code=0
    what is going wrong here.
    thank you
    regards
    aaditya

    If you have never worked with a Forms Tree control, I recommend you look at this tutorial: How To Create a Hierachical Tree form.
    Craig...

  • Strange behavior of entourage with shared IMAP folders

    Hi the list,
    I have a strange behavior with entourage 11.2.5 with shared IMAP folders. Here's what I'd like to do :
    All this has to do with spamassassin and spamtrainer. Some of our mails accounts are IMAP ones, but most are POP only and I don't want them to be IMAP. But I also want both IMAP and POP users to have some IMAP access to shared mailboxes for spam and ham to be learned. For those who are using IMAP accounts, that's not a problem with shared mailboxes. But, considering those with only POP accounts, I decided to create a dedicated user called anti_spam, using IMAP access, with two mail boxes that are spam and non_spam, so that all POP users could share this account.
    Using SirAdmin, I set l/p/i ACL rights for anyone and the same for anti-spam user so that mail can't be read back with this shared account. Everything just works fine with Mail, but it doesn't work with Entourage. I set up an IMAP account for anti_spam to get an access to shared mailboxes even if main account is a POP one. Everything's fine except I can't write anything on mailboxes : I get an error 1025 and a denied access for writing. The only way to get write access to these mailboxes is to add "r" ACL to them with SirAdmin, which is NOT the solution as it would allow anybody to read mails. It's obvious it has more to do with Entourage than OS X mail service, all the more trying the same conf in Thunderbird is OK as expected.
    I was just wondering if somebody here would have some idea of what could be wrong ...

    I'd be interested to hear if anyone has a solution too as am having the same problem of not being able to write to IMAP mailboxes.
    JJJ

  • Setting the ALV Hierarchy tree with grid line between the columns and rows

    Hi Experts,
    I would like to ask if there is any suggestion on setting the ALV hierarchy tree to be separated by grid line between the columns and rows just like how it is display the same way in normal ALV grid.
    Thanks in advance.

    Hi Lin,
    The requirement which you have stated is not possible.
    Lin,
    Also i have a query regarding BADI ZME_PROCESS_REQ_CUST, which you had raised on SDN. You have marked the question as solved/answered.
    Changing the data of a customize field in purchase requisition
    Could you please let me know, the steps you did to update the screen fields through the BADI.
    I would really appreciate your reply, because i am facing exactly the same problem which you have mentioned.
    Thanks,
    Best regards,
    Prashant

Maybe you are looking for