Repo für die Tools von Tobi und Maik'i https://git.masilux.de/s.probst/KopanoSetSignature
Go to file
2016-11-10 11:29:45 +01:00
Inject Files change to popen for python 2.6 support 2016-10-24 12:29:01 +00:00
dump_webapp_signatures.py dump_webapp_signatures.py: Add exception when trying to retrieve webapp settings. 2016-10-18 09:57:42 +02:00
manage_recipients.py renamed remove_recipients.py to manage__recipients.py 2016-08-30 10:40:51 +00:00
readme.md Add webapp_switch_locale.py script 2016-11-10 11:29:45 +01:00
webapp_settings.py add webappsetting and renamed remove_recipients 2016-08-10 09:57:57 +02:00
webapp_switch_locale.py Add webapp_switch_locale.py script 2016-11-10 11:29:45 +01:00

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

webapp_switch_locale.py

List or change the locale currently set in the user's WebApp settings.

Usage:

List locale
python switchlocale.py --user user1 
Original locale: nl_NL.UTF-8
Change locale
python switchlocale.py --user user1 --locale de_DE.UTF-8
Original locale: nl_NL.UTF-8
Setting locale to: de_DE.UTF-8