move router infos to individual driver files
[exim.git] / test / confs / 1159
1 # Exim test configuration 1159
2
3 SERVER =
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 queue_only
14 queue_run_in_order
15
16 tls_advertise_hosts = *
17 tls_certificate = DIR/aux-fixed/cert1
18
19
20 # ----- Routers -----
21
22 begin routers
23
24 client:
25   driver = accept
26   condition = ${if eq {SERVER}{server}{no}{yes}}
27   retry_use_local_part
28   transport = send_to_server
29
30 server:
31   driver = accept
32   retry_use_local_part
33   transport = local_delivery
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 local_delivery:
41   driver = appendfile
42   file = DIR/test-mail/$local_part
43   create_file = DIR/test-mail
44   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
45   user = CALLER
46
47 send_to_server:
48   driver = smtp
49   allow_localhost
50   hosts = 127.0.0.1
51   port = PORT_D
52   hosts_try_fastopen = :
53   tls_verify_certificates = DIR/aux-fixed/cert1
54   tls_verify_cert_hostnames = :
55   hosts_nopass_tls = *
56
57
58 # ----- Retry -----
59
60
61 begin retry
62
63 * * F,5d,10s
64
65
66 # End