From 9c0f7010a7062b5933580a0414d8081260d4a02b Mon Sep 17 00:00:00 2001 From: otthorn Date: Thu, 14 Jan 2021 12:16:20 +0100 Subject: [PATCH] Add (initial) mailserver playbook --- mailserver.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mailserver.yml diff --git a/mailserver.yml b/mailserver.yml new file mode 100644 index 0000000..132c8ca --- /dev/null +++ b/mailserver.yml @@ -0,0 +1,26 @@ +#! /usr/bin/env ansible-playbook +--- +# Deploy base and security +- hosts: mail.adm.auro.re + roles: + - baseconfig + - basesecurity + +# Deploy LDAP +- hosts: mail.adm.auro.re + roles: + - ldap_client + +# Deploy mail server +- hosts: mail.adm.auro.re + roles: + - mail-utils + - postfix + - dovecot + - rspamd + - mail-certificates + - mail-fail2ban + +# Make OVH server send mails through proxy ? +# Add multiple MX +# Configure DKIM, SPF, Greylisting, etc...