nit: document that `fout` must be open for reading too
[users/heiko/exim.git] / test / confs / 2001
1 # Exim test configuration 2001
2
3 OPTION=
4 SERVER=
5
6 .include DIR/aux-var/tls_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13
14 log_selector =  +tls_peerdn
15
16 queue_only
17 queue_run_in_order
18
19 tls_advertise_hosts = *
20
21 # Set certificate only if server
22
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25
26 tls_verify_hosts = *
27 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 client:
35   driver = accept
36   condition = ${if eq {SERVER}{server}{no}{yes}}
37   retry_use_local_part
38   transport = send_to_server
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 send_to_server:
46   driver = smtp
47   allow_localhost
48   hosts = 127.0.0.1
49   OPTION
50   port = PORT_D
51   tls_certificate = DIR/aux-fixed/cert2
52   tls_privatekey = DIR/aux-fixed/cert2
53   tls_verify_certificates = DIR/aux-fixed/cert2
54   tls_try_verify_hosts =
55
56
57 # ----- Retry -----
58
59
60 begin retry
61
62 * * F,5d,10s
63
64
65 # End