Page tree

Versions Compared

Key

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

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!

HideElements
metastrue
commentstrue
childpagestrue
watchtrue
likestrue

...

Bitbucket Server file
repoSlugwebapp-tools
branchIdrefs/heads/master
projectKeyKSC
filepathremovemanage_recipients.py
showLineNumberstrue
progLangpython
collapsibletrue

 

Usage:

Code Block
Usage: manage_recipients.py [options]

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
  --list                             List recipients history
  --backup                           Backup recipients history
  --restore                          Restore recipients history
  --restore-file=RESTOREFILE         Restore from an other file then
                                     username.json
  --remove=REMOVE                    Remove recipients
  --remove-all                       Remove complete recipients history
  --dry-run                          Test script

 

List recipients

Code Block
python removemanage_recipients.py --user <user>  --list

 

Remove recipient

Remove option is searching in display_name, smtp_address or email_address. 
Code Block
python removemanage_recipients.py --user <user>  --remove <recipient name>

Clear history

Code Block
python removemanage_recipients.py --user <user>  --remove-all

 

Example

Remove all recipients that have example.com in there display_name, smtp_address or email_address
Code Block
python removemanage_recipients.py --user user  --remove example.com

...