From f627d0c7827edd56782ac5955b7341838218d0bd Mon Sep 17 00:00:00 2001 From: Someone Date: Fri, 4 Oct 2024 13:42:40 +0200 Subject: [PATCH] [roles/server/mail] ----- meta + default ----- Set up postfix + cyrus + spam filtering --- roles/server/mail/defaults/main.yml | 10 ++++++++++ roles/server/mail/meta/main.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 roles/server/mail/defaults/main.yml create mode 100644 roles/server/mail/meta/main.yml diff --git a/roles/server/mail/defaults/main.yml b/roles/server/mail/defaults/main.yml new file mode 100644 index 0000000..cf87982 --- /dev/null +++ b/roles/server/mail/defaults/main.yml @@ -0,0 +1,10 @@ +##################################### +### someone's ansible provisioner ### +##################################### +# Part of: https://git.somenet.org/root/pub/somesible.git +# 2017-2024 by someone +# +# If not overridden in inventory or as a parameter, this is the value that will be used +# +--- +mail_primary_domain: "" diff --git a/roles/server/mail/meta/main.yml b/roles/server/mail/meta/main.yml new file mode 100644 index 0000000..8f7a7b8 --- /dev/null +++ b/roles/server/mail/meta/main.yml @@ -0,0 +1,28 @@ +##################################### +### someone's ansible provisioner ### +##################################### +# Part of: https://git.somenet.org/root/pub/somesible.git +# 2017-2024 by someone +# +# This is a mail-server role. +# This will set up postfix + cyrus + some spam filtering. +# +--- +dependencies: +# cyrus + - { role: server/mail/cyrus, tags: ['mail', 'cyrus'] } + +# milter-spf + - { role: server/mail/milter-spf, tags: ['mail', 'milter-spf'] } + +# milter-dkim + - { role: server/mail/milter-dkim, tags: ['mail', 'milter-dkim'] } + +# milter-dmarc + - { role: server/mail/milter-dmarc, tags: ['mail', 'milter-dmarc'] } + +# spamassassin + - { role: server/mail/spamassassin, tags: ['mail', 'spamassassin'] } + +# postfix + - { role: server/mail/postfix, tags: ['mail', 'postfix'] } -- 2.43.0