Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bosodo authored Oct 15, 2021
1 parent 5dcf22a commit 1849497
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# exchange-mailbox-cleaner
# Exchange mailbox cleaner
Cleanup tool for Microsoft Exchange mailbox.

- Homepage: https://github.com/bosodo/exchange-mailbox-cleaner/

You can use it to delete emails from exchange mailboxes, that are not managed by Outlook, OWA or etc. (e.g. technical e-mail accounts).
You can also export deleted emails to .eml files. (Default option is hard-delete e-mails).

**Dependency**

Python 3.6+. Befoure run, install the required dependencies with:
```
pip install -r requirements.txt
```

**Usage**
```
Usage:
exch-mbox-cleaner.py <exch-server> <user-name> <user-pass> (--inbox | --inbox-subdir=<directory>) [--days=<number_days>] [--bckp=DIR] [--dry-run] [(--soft | --trash)]
exch-mbox-cleaner.py (-h | --help)
exch-mbox-cleaner.py --version
```
**Examples**
```
Examples:
exch-mbox-cleaner.py exchange.example.org jan_kowalski Password! --inbox --days=180 --bckp='./deleted-emails'
exch-mbox-cleaner.py exchange.example.org jan_kowalski Password! --days=180 --bckp='./deleted-emails'
```
**Options**
```
Options:
-h --help Show this screen.
--version Show version.
Expand Down

0 comments on commit 1849497

Please sign in to comment.