openchange/openchange — pull request #127 by blaxter (2014-11-10 18:14:57+00:00)
Title: user cleanup script

Script to cleanup things:
* Openchange: remove data from openchangedb and mapistore indexing databases.
* SOGo: remove user cache table
* Imap: remove a list of folders (Spam, Sync issues and folder with "(1)" pattern)-

You can call it ignoring some things (for instance --ignore=imap).

It also have a --users flag to retrieve all active users (users that had used outlook in the past at least once, it checks openchangedb for this).

Usage: openchange_user_cleanup.py [options]

Options:
-h, --help show this help message and exit
--users List active openchange users
--dry-run Do not perform any action
--ignore=IGNORE Ignore to perform some cleaneractions. The ones that exist
are: openchange, sogo, imap