Adding postfix python-policyd-spf to playbook

This commit is contained in:
Blade of Darkness 2019-11-30 03:02:10 +00:00
parent 31a81c2215
commit 746f7fb9ec
2 changed files with 23 additions and 0 deletions

View File

@ -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

View File

@ -18,3 +18,13 @@
group: root
mode: 0644
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