system-config/inventory/service/group_vars/storyboard.yaml
Jeremy Stanley 35ddeb06c7 Clean up an old raw IP address from our MTAs
For some reason, this was in our original lists.openstack.org Exim
configuration when we first imported it to Puppet so many years ago.
Somehow it's survived and multiplied its way into other configs as
well. Time to finally let it go.

Change-Id: I23470c10ae0324954cb2afda929c86e7ad34663e
2022-11-30 18:32:46 +00:00

40 lines
1.4 KiB
YAML

exim_local_domains: "@:storyboard.openstack.org"
exim_routers:
- dnslookup: '{{ exim_dnslookup_router }}'
- system_aliases: '{{ exim_system_aliases_router }}'
- localuser: '{{ exim_localuser_router }}'
- storyboard_verp_router: |
driver = dnslookup
# we only consider messages sent in through loopback
{% raw -%}
condition = ${if or{{eq{$sender_host_address}{127.0.0.1}}\
{eq{$sender_host_address}{::1}}}{yes}{no}}
{% endraw %}
# we do not do this for traffic going to the local machine
domains = '!+local_domains'
ignore_target_hosts = <; \
0.0.0.0; \
127.0.0.0/8; \
::1/128; \
fe80::/10; \
fec0::/10; \
ff00::/8
# only the un-VERPed bounce addresses are handled
senders = "*-bounces@*"
transport = storyboard_verp_smtp
- storyboard: |
# Send bounces to /dev/null until storyboard supports them.
driver = redirect
local_parts = storyboard
local_part_suffix_optional = true
local_part_suffix = -bounces : -bounces+*
data = :blackhole:
exim_transports:
- storyboard_verp_smtp: |
driver = smtp
return_path = \
${local_part:$return_path}+$local_part=$domain@${domain:$return_path}
max_rcpt = 1
headers_remove = Errors-To
headers_add = Errors-To: ${return_path}