ansible/postfix.yml

18 lines
368 B
YAML
Raw Normal View History

2019-03-04 12:51:13 +01:00
---
# All ovh servers should send mail throught proxy
- hosts: ovh:!proxy.adm.auro.re
vars:
local_network: 10.128.0.0/16
relayhost: proxy.adm.auro.re
myorigin: auro.re
roles:
- postfix-non-mailhost
# Proxy should send emails
- hosts: proxy.adm.auro.re
vars:
local_network: 10.128.0.0/16
myorigin: auro.re
roles:
- postfix-mailhost