Move certificate name checking to mainline, default enabled
[users/heiko/exim.git] / test / confs / 5410
1 # Exim test configuration 5410
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 log_selector =  +smtp_confirmation
15 tls_advertise_hosts = *
16 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
17
18 domainlist local_domains = test.ex : *.test.ex
19
20 acl_smtp_rcpt = ${if eq {SERVER}{server}{queue}{cutthrough}}
21
22 # ----- ACLs -------
23
24 begin acl
25
26 cutthrough:
27     accept      control = cutthrough_delivery
28                 verify = recipient
29
30 queue:
31     accept      control = queue_only
32
33 # ----- Routers -----
34
35 begin routers
36
37 all:
38   driver = manualroute
39   domains = ! +local_domains
40   route_list = * 127.0.0.1
41   self = send
42   address_data = $local_part
43   transport = smtp
44   no_more
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 smtp:
52   driver = smtp
53   interface = HOSTIPV4
54   port = PORT_D
55   hosts_avoid_tls =        ${if eq {$address_data}{usery}{*}{:}}
56   hosts_verify_avoid_tls = ${if eq {$address_data}{userz}{*}{:}}
57
58
59 # End