From ea8b15e5d7edb5132af22b658e09844e44040b86 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 18 Nov 2015 09:54:38 +0000 Subject: [PATCH 1/2] logrotate fails if files are not owned by root Ignoring /etc/logrotate.d/s3-mirror because the file owner is wrong (should be root). --- roles/s3-mirror/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/s3-mirror/tasks/main.yml b/roles/s3-mirror/tasks/main.yml index fcc297ab19..7ed94a6d94 100644 --- a/roles/s3-mirror/tasks/main.yml +++ b/roles/s3-mirror/tasks/main.yml @@ -41,7 +41,7 @@ copy: src=s3-excludes.txt dest=/usr/local/etc/s3-mirror-excludes.txt owner=s3-mirror group=s3-mirror mode=0644 - name: s3-mirror logrotate - copy: src=s3-mirror.logrotate dest=/etc/logrotate.d/s3-mirror owner=s3-mirror group=s3-mirror mode=0644 + copy: src=s3-mirror.logrotate dest=/etc/logrotate.d/s3-mirror owner=root group=root mode=0644 - name: s3sync-logs copy: src=s3sync-logs dest=/usr/local/bin/s3sync-logs owner=s3-mirror group=s3-mirror mode=0755 From 750a7ddb1eda2cd8ab026e077da31622c7f600ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 18 Nov 2015 11:35:33 +0000 Subject: [PATCH 2/2] Mailman3: discard spam by default --- roles/mailman/templates/mailman.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mailman/templates/mailman.cfg.j2 b/roles/mailman/templates/mailman.cfg.j2 index 104d2b4a08..cc1294f254 100644 --- a/roles/mailman/templates/mailman.cfg.j2 +++ b/roles/mailman/templates/mailman.cfg.j2 @@ -65,7 +65,7 @@ header_checks: # The chain to jump to if any of the header patterns matches. This must be # the name of an existing chain such as 'discard', 'reject', 'hold', or # 'accept', otherwise 'hold' will be used. -jump_chain: hold +jump_chain: discard