Document interface to f-protd av_scanner type. Bug 923
[exim.git] / test / confs / 2000
1 # Exim test configuration 2000
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17
18 log_selector =  +tls_peerdn
19
20 queue_only
21 queue_run_in_order
22
23 tls_advertise_hosts = *
24 # needed to force generation
25 tls_dhparam = historic
26
27 # Set certificate only if server
28
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31
32 tls_verify_hosts = *
33 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 client:
41   driver = accept
42   condition = ${if eq {SERVER}{server}{no}{yes}}
43   retry_use_local_part
44   transport = send_to_server
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 send_to_server:
52   driver = smtp
53   allow_localhost
54   hosts = 127.0.0.1
55   port = PORT_D
56   tls_certificate = DIR/aux-fixed/cert2
57   tls_privatekey = DIR/aux-fixed/cert2
58   tls_verify_certificates = DIR/aux-fixed/cert2
59
60
61 # ----- Retry -----
62
63
64 begin retry
65
66 * * F,5d,10s
67
68
69 # End