forked from thunix/ansible
Adding postfix python-policyd-spf to playbook
This commit is contained in:
parent
31a81c2215
commit
746f7fb9ec
|
@ -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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue