2019-10-18 12:53:14 +00:00
|
|
|
# xoxys.scan2mail
|
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.scan2mail/status.svg)](https://drone.rknet.org/ansible/xoxys.scan2mail)
|
2019-08-25 18:18:43 +00:00
|
|
|
|
2019-10-18 12:53:14 +00:00
|
|
|
|
2019-11-06 20:15:13 +00:00
|
|
|
Setup scan2mail service
|
|
|
|
|
2019-10-18 12:53:14 +00:00
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
|
|
|
* [scan2mail_packages_extra](#scan2mail_packages_extra)
|
|
|
|
* [scan2mail_mail_domain](#scan2mail_mail_domain)
|
|
|
|
* [scan2mail_from_address](#scan2mail_from_address)
|
|
|
|
* [scan2mail_subject](#scan2mail_subject)
|
|
|
|
* [scan2mail_incron_system_table_dir](#scan2mail_incron_system_table_dir)
|
|
|
|
* [scan2mail_incron_jobs](#scan2mail_incron_jobs)
|
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
|
|
|
### scan2mail_packages_extra
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_packages_extra: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### scan2mail_mail_domain
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_mail_domain: example.com
|
|
|
|
```
|
|
|
|
|
|
|
|
### scan2mail_from_address
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_from_address: printer@{{ scan2mail_mail_domain }}
|
|
|
|
```
|
|
|
|
|
|
|
|
### scan2mail_subject
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_subject: Scan2Mail attachments
|
|
|
|
```
|
|
|
|
|
|
|
|
### scan2mail_incron_system_table_dir
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_incron_system_table_dir: /etc/incron.d
|
|
|
|
```
|
|
|
|
|
|
|
|
### scan2mail_incron_jobs
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_incron_jobs: []
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Example usage
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
scan2mail_incron_jobs:
|
|
|
|
- path: /path/to/scan/dir
|
|
|
|
mask: IN_CREATE
|
|
|
|
action: scan2mail
|
|
|
|
options:
|
|
|
|
- $@
|
|
|
|
- $
|
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2019-11-07 08:35:52 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|