Save a copy of all messages to openstack-discuss

To debug DMARC issues, save a copy of every message sent to
openstack-discuss with as little manipulation as possible.

Change-Id: Ic1156849957bc326e9216c2aca0ab9d180e158e6
This commit is contained in:
James E. Blair 2019-01-23 11:19:00 -08:00
parent 08a4a0c22a
commit 9e6db28ffb
1 changed files with 11 additions and 0 deletions

View File

@ -50,6 +50,12 @@ exim_routers:
- dnslookup: '{{ exim_dnslookup_router }}'
- system_aliases: '{{ exim_system_aliases_router }}'
- localuser: '{{ exim_localuser_router }}'
- mailman_copy: |
driver = accept
domains = lists.openstack.org
local_parts = openstack-discuss
transport = local_copy
unseen
- mailman_router: |
driver = accept
domains = {{ mm_domains }}
@ -63,6 +69,11 @@ exim_routers:
require_files = ${lookup{${lc::$domain}}lsearch{/etc/mailman/sites}}/lists/${lc::$local_part}/config.pck
transport = mailman_transport
exim_transports:
- local_copy: |
driver = appendfile
file = /var/mail/$local_part
group = mail
mode = 0660
- mailman_transport: |
driver = pipe
command = /var/lib/mailman/mail/mailman \