webapp-tools/readme.md

1.2 KiB

manage_recipients.py

Manage recipients in webapp

Usage:

List recipients
python remove_recipients.py --user <user>  --list
Remove recipient

Remove options is searching in display_name, smtp_address or email_address.

python remove_recipients.py --user <user>  --remove <recipient name>
Clear history
python remove_recipients.py --user <user>  --remove-all

Example

Remove all recipients that have example.com in there display_name, smtp_address or email_address

python remove_recipients.py --user user  --remove example.com

webapp_settings.py

Usage:

Backup
python webapp_settings.py --user user  --backup
Restore
python webapp_settings.py --user user  --restore

dump_webapp_signatures.py

Dumps all the signatures in a users Webapp to seperate files, meant as companion to the script setdefaultsignature.py as delivered with Webapp (see /usr/share/doc/kopano-webapp/scripts/signatures/ on your Webapp server.) The files will be written in the current directory.

Usage:

python dump_webapp_signatures.py --user user