Use dedicated union member for option offsets
[users/jgh/exim.git] / test / confs / 5420
1 # Exim test configuration 5420
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 log_selector =  +smtp_confirmation
10 tls_advertise_hosts = *
11 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
12
13 domainlist local_domains = test.ex : *.test.ex
14
15 acl_smtp_rcpt = ${if eq {SERVER}{server}{queue}{cutthrough}}
16
17 # ----- ACLs -------
18
19 begin acl
20
21 cutthrough:
22     accept      control = cutthrough_delivery
23                 verify = recipient
24
25 queue:
26     accept      control = queue_only
27
28 # ----- Routers -----
29
30 begin routers
31
32 all:
33   driver = manualroute
34   domains = ! +local_domains
35   route_list = * 127.0.0.1
36   self = send
37   address_data = $local_part
38   transport = smtp
39   no_more
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 smtp:
47   driver = smtp
48   interface = HOSTIPV4
49   port = PORT_D
50   hosts_try_fastopen =  :
51   hosts_avoid_tls =        ${if eq {$address_data}{usery}{*}{:}}
52   hosts_verify_avoid_tls = ${if eq {$address_data}{userz}{*}{:}}
53
54
55 # End