Delete IMAP Mailboxes

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
    delete_imap_mailboxes.pl

    Delete one or more mailboxes based on a regular expression supplied by the user. For example:

    -m "^thunder|^real|AA|^MOVED$|XXXX|zas"


    It is advisable to do a test-run first to make sure that the regex will select the desired mailbox before actually deleting them. Use the -t argument to select "show what would be deleted but don't delete it" mode.

    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.
     


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...