webapp-tools/readme.md

53 lines
870 B
Markdown
Raw Normal View History

manage_recipients.py
====================
Manage recipients in webapp
2016-07-28 10:48:36 +02:00
#### Usage:
2016-07-28 10:48:36 +02:00
###### List recipients
2016-07-28 14:18:08 +02:00
```python
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
Remove options is searching in display_name, smtp_address or email_address.
2016-07-28 14:18:08 +02:00
```python
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 14:18:08 +02:00
```python
python remove_recipients.py --user <user> --remove-all
2016-07-28 14:18:08 +02:00
```
2016-07-28 10:48:36 +02:00
#### Example
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
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
```