Add lists.zuul-ci.org to local domains

This additional step is required for adding a new list domain.

Also, remove the "mm_domains" hostlist from the local domains
list -- it is no longer defined in the exim config file, and is
instead defined and expanded into the exim config here in puppet.

Change-Id: Ieb630cd9397414bee53ebb427e97024e0bc1ac56
This commit is contained in:
James E. Blair 2018-01-12 16:30:26 -08:00
parent 6dc076968d
commit d98cda63d8

View File

@ -5,7 +5,7 @@ class openstack_project::lists(
$listpassword = ''
) {
$mm_domains='lists.openstack.org'
$mm_domains='lists.openstack.org:lists.zuul-ci.org'
class { 'mailman':
multihost => true,
@ -48,7 +48,7 @@ class openstack_project::lists(
'condition' => '${if or{{eq{$sender_host_address}{127.0.0.1}}\
{eq{$sender_host_address}{::1}}}{yes}{no}}',
# we do not do this for traffic going to the local machine
'domains' => '!+local_domains:!+mm_domains',
'domains' => '!+local_domains',
'ignore_target_hosts' => '<; 0.0.0.0; \
64.94.110.11; \
127.0.0.0/8; \