mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 05:30:18 +00:00
Adding postfix python-policyd-spf to playbook
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
# For a fully commented sample config file see policyd-spf.conf.commented
|
||||||
|
|
||||||
|
debugLevel = 1
|
||||||
|
TestOnly = 1
|
||||||
|
|
||||||
|
HELO_reject = SPF_Not_Pass
|
||||||
|
Mail_From_reject = Softfail
|
||||||
|
|
||||||
|
PermError_reject = False
|
||||||
|
TempError_Defer = False
|
||||||
|
|
||||||
|
skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
|
||||||
|
|
||||||
@@ -18,3 +18,13 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: restart Postfix
|
notify: restart Postfix
|
||||||
|
|
||||||
|
# Deploy policyd-spf.conf
|
||||||
|
- name: Deploy postfix spf
|
||||||
|
copy:
|
||||||
|
src: ../files/etc/postfix-policyd-spf-python/policyd-spf.conf
|
||||||
|
dest: /etc/postfix-policyd-spf-python/policyd-spf.conf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user