Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following scripts allow you to automatically delete all items older than x days in a users Junk E-mail and Deleted Items folder.

 

Bitbucket Server file
repoSlugcore-tools
branchIdrefs/heads/master
projectKeyKSC
filepathkopano-cleanup.py
showLineNumberstrue
progLangpython
collapsibletrue

 

Markdown
## Dependencies


cleanup depends on a few Python libraries:

* [python-kopano](https://download.kopano.io/supported/core:/final/)
* [python-mapi](https://download.kopano.io/supported/core:/final/)
 

## Usage

```python
  python cleanup.py --user \<user\> --junk --wastebasket --days \<days\>
```


Bitbucket Server file
repoSlugcore-tools
branchIdrefs/heads/master
projectKeyKSC
filepathkopano-cleanup.py
showLineNumberstrue
progLangpython
collapsibletrue