system-config/playbooks/group_vars/firehose.yaml
James E. Blair 40c6e6d7ad Template all exim routers
So that we can have complete control of the router order, always
template the full set of routers, including the "default" ones.
So that it's easy to use the defaults but put them in a different
order, define each router in its own variable which can be used
in host or group vars to "copy" that router in.

Apply this change to lists, firehose, and storyboard, all of which
have custom exim routers.  Note that firehose intentionally has
its localuser router last.

Change-Id: I737942b8c15f7020b54e350db885e968a93f806a
2018-08-16 13:49:55 -07:00

20 lines
573 B
YAML

exim_local_domains: "@:firehose.openstack.org"
# TODO(jeblair): have the cyrus router check to see if there is a
# cyrus account.
exim_routers:
- dnslookup: '{{ exim_dnslookup_router }}'
- system_aliases: '{{ exim_system_aliases_router }}'
- cyrus: |
driver = accept
domains = +local_domains
local_part_suffix = +*
local_part_suffix_optional
transport = cyrus
- localuser: '{{ exim_localuser_router }}'
exim_transports:
- cyrus: |
driver = lmtp
socket = /var/run/cyrus/socket/lmtp
user = cyrus
batch_max = 35