2019-02-18 00:50:47 +00:00
|
|
|
# Configure postfix
|
|
|
|
---
|
|
|
|
- name: Install postix main.cf
|
|
|
|
copy:
|
|
|
|
src: ../files/etc/postfix/main.cf
|
|
|
|
dest: /etc/postfix/main.cf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
2019-11-24 00:19:27 +00:00
|
|
|
notify: restart Postfix
|
2019-11-28 18:42:36 +00:00
|
|
|
|
|
|
|
# Deploy master.cf
|
|
|
|
- name: Deploy postfix conf
|
|
|
|
copy:
|
|
|
|
src: ../files/etc/postfix/master.cf
|
|
|
|
dest: /etc/postfix/master.cf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
notify: restart Postfix
|
2019-11-30 03:02:10 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2020-01-13 13:38:01 +00:00
|
|
|
# Deploy cron for reports
|
2020-01-13 13:42:15 +00:00
|
|
|
- name: Deploy cron reports
|
2020-01-13 13:38:01 +00:00
|
|
|
copy:
|
2020-01-13 13:42:15 +00:00
|
|
|
src: ../files/etc/cron.daily/postfix_stats
|
2020-01-13 13:38:01 +00:00
|
|
|
dest: /etc/cron.daily/postfix_stats
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0755
|