53 lines
870 B
Markdown
53 lines
870 B
Markdown
remove_recipients.py
|
|
====================
|
|
Remove recipients in webapp
|
|
|
|
|
|
#### Usage:
|
|
|
|
###### List recipients
|
|
|
|
```python
|
|
python remove_recipients.py --user <user> --list
|
|
```
|
|
###### Remove recipient
|
|
Remove options is searching in display_name, smtp_address or email_address.
|
|
|
|
```python
|
|
python remove_recipients.py --user <user> --remove <recipient name>
|
|
```
|
|
|
|
###### Clear history
|
|
|
|
```python
|
|
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
|
|
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
|
|
```
|