2019-10-18 11:17:53 +00:00
|
|
|
# xoxys.postfix_relay
|
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.postfix_relay/status.svg)](https://drone.rknet.org/ansible/xoxys.postfix_relay)
|
2017-05-18 21:23:47 +00:00
|
|
|
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
Setup postfix as mail relay
|
|
|
|
|
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
2019-11-22 23:08:06 +00:00
|
|
|
* [postfix_relay_auth_password](#postfix_relay_auth_password)
|
|
|
|
* [postfix_relay_auth_user](#postfix_relay_auth_user)
|
2019-10-18 11:17:53 +00:00
|
|
|
* [postfix_relay_relaydomain](#postfix_relay_relaydomain)
|
|
|
|
* [postfix_relay_relayhost](#postfix_relay_relayhost)
|
|
|
|
* [postfix_relay_relayport](#postfix_relay_relayport)
|
|
|
|
* [postfix_relay_senders](#postfix_relay_senders)
|
2019-11-22 23:08:06 +00:00
|
|
|
* [postfix_relay_smtpd_banner](#postfix_relay_smtpd_banner)
|
2019-10-18 11:17:53 +00:00
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_auth_password
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_auth_password: pass01
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_auth_user
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_auth_user: user01
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_relaydomain
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_relaydomain: smtp.org
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_relayhost
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_relayhost: test.{{ postfix_relay_relaydomain }}
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_relayport
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_relayport: '587'
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_senders
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_senders:
|
|
|
|
- user: root
|
|
|
|
address: '{{ ansible_hostname }}@{{ postfix_relay_relaydomain }}'
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:08:06 +00:00
|
|
|
### postfix_relay_smtpd_banner
|
|
|
|
|
|
|
|
`smtpd_banner` contains $myhostname by default and can't be removed. Options from the list will be appended.
|
2019-10-18 11:17:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:08:06 +00:00
|
|
|
postfix_relay_smtpd_banner:
|
|
|
|
- ESMTP
|
|
|
|
- $mail_name
|
2019-10-18 11:17:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2019-11-07 08:32:41 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|