IMAP Dump

Discussion in 'IMAP Tools' started by popowich, Oct 27, 2013.

  1. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    imapdump.pl

    imapdump.pl is a utility for extracting all of the mailboxes and messages in an IMAP user's account. When supplied with host/user/password information and the location of a directory on the local system imapdump.pl will connect to the IMAP server, extract each message from the user's account, and write it to a file. The result looks something like this:

    /var/backups/INBOX
    1 2 3 4 5
    /var/backups/Drafts
    1 2
    /var/backups/Notes/2002
    1 2 3 4 5 6 7
    /var/backups/Notes/2003
    1 2 3
    imapdump.pl is called like this:

    ./imapdump.pl -S host/user/password -f /var/backup

    Optional arguments:
    -d debug
    -I show IMAP protocol exchanges
    -L logfile
    -m mailbox list (dumps only the specified mailboxes, see the usage notes for syntax)
    If you have a question about using this script please reply.

    If you would like to download the script please see How to get the IMAP Tools.
     


  2. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Is there IMAP+SSL support for this script?
     

  3. rfs9999

    rfs9999 IMAP Tools

    Joined:
    Oct 27, 2013
    Messages:
    114
    Likes Received:
    6
    > is there IMAP+SSL support for this script?

    Yes. To create an SSL IMAP connection append :993 to the host name:

    -S host:993/user/password

    -Rick
     

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...