2016-08-30 12:41:19 +02:00
manage_recipients.py
2016-07-28 10:47:25 +02:00
====================
2016-08-30 12:41:19 +02:00
Manage recipients in webapp
2016-07-28 10:47:25 +02:00
2016-07-28 10:48:36 +02:00
#### Usage:
2016-07-28 10:47:25 +02:00
2016-07-28 10:48:36 +02:00
###### List recipients
2016-07-28 10:47:25 +02:00
2016-07-28 14:18:08 +02:00
```python
2016-07-28 15:01:35 +02:00
python remove_recipients.py --user < user > --list
2016-07-28 14:18:08 +02:00
```
2016-07-28 10:48:36 +02:00
###### Remove recipient
2016-07-28 10:47:25 +02:00
Remove options is searching in display_name, smtp_address or email_address.
2016-07-28 14:18:08 +02:00
```python
2016-07-28 15:01:35 +02:00
python remove_recipients.py --user < user > --remove < recipient name >
2016-07-28 14:18:08 +02:00
```
2016-07-28 10:48:36 +02:00
###### Clear history
2016-07-28 10:47:25 +02:00
2016-07-28 14:18:08 +02:00
```python
2016-07-28 15:01:35 +02:00
python remove_recipients.py --user < user > --remove-all
2016-07-28 14:18:08 +02:00
```
2016-07-28 10:47:25 +02:00
2016-07-28 10:48:36 +02:00
#### Example
2016-07-28 10:47:25 +02:00
Remove all recipients that have example.com in there display_name, smtp_address or email_address
2016-07-28 14:18:08 +02:00
```python
2016-07-28 15:01:35 +02:00
python remove_recipients.py --user user --remove example.com
```
webapp_settings.py
==================
#### Usage:
###### Backup
```python
python webapp_settings.py --user user --backup
```
###### Restore
```python
python webapp_settings.py --user user --restore
```
2016-10-17 16:20:04 +02:00
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.)
2016-10-21 16:53:56 +02:00
The files will be written in the current directory.
2016-10-17 16:20:04 +02:00
#### Usage:
2016-11-10 11:29:45 +01:00
```
2016-10-17 16:20:04 +02:00
python dump_webapp_signatures.py --user user
```
2016-11-10 11:29:45 +01:00
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
```
2017-01-09 12:46:00 +01:00
# set_webapp_default_signature.py
Add and set a Default signature in Webapp for user(s), will overwrite any other default.
Please use a signature as dumped with dump_webapp_signatures.py
## Examples
### Set signature of a local user on the local server
```
./set_webapp_default_signature.py -u user1 -f user2-signature.sig
```
### Set signature multiple local users on the local server
```
./set_webapp_default_signature.py -u user1 -u user3 -f user2-signature.sig
```
### Set signature for all local users on the local server
```
./set_webapp_default_signature.py -a -f user2-signature.sig
```
2016-11-10 11:29:45 +01:00