From 198a9ccaa0b8693d5813a57a4b2c2fa7db5c601c Mon Sep 17 00:00:00 2001 From: lagertonne Date: Sun, 22 Dec 2024 09:45:50 +0100 Subject: [PATCH 1/2] deploy: Remove mail relay host --- deploy/ansible/playbooks/templates/postfix.cf.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/ansible/playbooks/templates/postfix.cf.j2 b/deploy/ansible/playbooks/templates/postfix.cf.j2 index f80d69b..ee073d6 100644 --- a/deploy/ansible/playbooks/templates/postfix.cf.j2 +++ b/deploy/ansible/playbooks/templates/postfix.cf.j2 @@ -37,7 +37,6 @@ alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, , localhost -relayhost = firefly.lab.or.it mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + -- 2.39.5 From 02d0c1498d29601000a8a2f853faf0961fffbda8 Mon Sep 17 00:00:00 2001 From: lagertonne Date: Sun, 22 Dec 2024 20:04:34 +0100 Subject: [PATCH 2/2] deploy: Add dkim signing with rspamd --- deploy/ansible/playbooks/deploy-c3lf-sys3.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deploy/ansible/playbooks/deploy-c3lf-sys3.yml b/deploy/ansible/playbooks/deploy-c3lf-sys3.yml index 544b4e4..4005146 100644 --- a/deploy/ansible/playbooks/deploy-c3lf-sys3.yml +++ b/deploy/ansible/playbooks/deploy-c3lf-sys3.yml @@ -345,6 +345,13 @@ notify: - restart postfix + - name: configure rspamd dkim + template: + src: templates/rspamd-dkim.cf.j2 + dest: /etc/rspamd/local.d/dkim_signing.conf + notify: + - restart rspamd + - name: configure rspamd copy: content: | -- 2.39.5