Page tree
Skip to end of metadata
Go to start of metadata

These scripts and tools are provided to help you manage your Kopano system. They are provided as a free service for Kopano users, without warranty of any kind.

Please be aware that usage is at your own risk!


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

The latest version of the script can be found in the 'Core Scripts' Bitbucket repository:


Usage: [options]

  -h, --help                         show this help message and exit
  -c FILE, --config=FILE             load settings from FILE
  -s SOCKET, --server-socket=SOCKET  connect to server SOCKET
  -k FILE, --ssl-key=FILE            SSL key file
  -p PASS, --ssl-pass=PASS           SSL key password
  -f NAME, --folder=NAME             run program for specific folder
  -m, --modify                       enable database modification
  --user=USER                        Run script for user
  --wastebasket                      Run cleanup script for the wastebasket
  --junk                             Run cleanup script for the junk folder
  --force                            Force items without date to be removed
  --days=DAYS                        Delete older then x days
  --verbose                          Verbose mode
  --dry-run                          Run script in dry mode
  --progressbar                      Show progressbar



  python --user <user> --junk --wastebasket --days <days>
  • No labels