Fix $regex<n> use-after-free. Bug 2915
[exim.git] / test / confs / 1150
1 # Exim test configuration 1150
2
3 SERVER =
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex : *.test.ex
13
14 acl_smtp_rcpt = check_recipient
15 queue_only
16 queue_run_in_order
17 remote_max_parallel = 1
18
19 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/cert1
21
22
23 # ------ ACL ------
24
25 begin acl
26
27 check_recipient:
28   accept  domains = +local_domains
29   deny    message = relay not permitted
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 client:
37   driver = accept
38   condition = ${if eq {SERVER}{server}{no}{yes}}
39   retry_use_local_part
40   transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
41
42 server:
43   driver = accept
44   retry_use_local_part
45   transport = local_delivery
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 local_delivery:
53   driver = appendfile
54   file = DIR/test-mail/$local_part
55   create_file = DIR/test-mail
56   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
57   user = CALLER
58
59 send_to_server1:
60   driver = smtp
61   allow_localhost
62   hosts = 127.0.0.1
63   port = PORT_D
64   hosts_try_fastopen =  :
65   helo_data = helo.data.changed
66   tls_verify_certificates = DIR/aux-fixed/cert1
67   tls_verify_cert_hostnames =
68
69 send_to_server2:
70   driver = smtp
71   allow_localhost
72   hosts = HOSTIPV4
73   port = PORT_D
74   hosts_try_fastopen =  :
75   tls_verify_certificates = DIR/aux-fixed/cert1
76   tls_verify_cert_hostnames =
77
78
79 # ----- Retry -----
80
81
82 begin retry
83
84 * * F,5d,10s
85
86
87 # End