From 724d877995dfcc10c462a18dcb4ea6c8b60c2d03 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 2 Jul 2023 19:04:30 -0400 Subject: initial commit --- roles/policyd_spf/defaults/main.yml | 0 roles/policyd_spf/files/policyd-spf.conf | 8 ++++++++ roles/policyd_spf/handlers/main.yml | 0 roles/policyd_spf/tasks/main.yml | 13 +++++++++++++ 4 files changed, 21 insertions(+) create mode 100644 roles/policyd_spf/defaults/main.yml create mode 100644 roles/policyd_spf/files/policyd-spf.conf create mode 100644 roles/policyd_spf/handlers/main.yml create mode 100644 roles/policyd_spf/tasks/main.yml (limited to 'roles/policyd_spf') diff --git a/roles/policyd_spf/defaults/main.yml b/roles/policyd_spf/defaults/main.yml new file mode 100644 index 0000000..e69de29 diff --git a/roles/policyd_spf/files/policyd-spf.conf b/roles/policyd_spf/files/policyd-spf.conf new file mode 100644 index 0000000..7fba9ba --- /dev/null +++ b/roles/policyd_spf/files/policyd-spf.conf @@ -0,0 +1,8 @@ +# postfix-policyd-spf configuration +debugLevel = 1 +TestOnly = 1 +HELO_reject = Fail +Mail_From_reject = Fail +PermError_reject = True +TempError_Defer = True +Header_Type = AR diff --git a/roles/policyd_spf/handlers/main.yml b/roles/policyd_spf/handlers/main.yml new file mode 100644 index 0000000..e69de29 diff --git a/roles/policyd_spf/tasks/main.yml b/roles/policyd_spf/tasks/main.yml new file mode 100644 index 0000000..48aa12d --- /dev/null +++ b/roles/policyd_spf/tasks/main.yml @@ -0,0 +1,13 @@ +- name: install packages + package: + name: + - postfix-policyd-spf-python + state: latest + +- name: deploy configuration + copy: + src: policyd-spf.conf + dest: /etc/postfix-policyd-spf-python/policyd-spf.conf + owner: root + group: root + mode: '0644' -- cgit v1.2.3