Disable identd (rfc1413) lookups by default
[exim.git] / test / confs / 5820
1 # Exim test configuration 5800
2 # DANE
3
4 SERVER=
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
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 server:
47   driver = redirect
48   data = :blackhole:
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 send_to_server:
56   driver = smtp
57   allow_localhost
58   hosts = 127.0.0.1
59   port = PORT_D
60 #  tls_certificate = DIR/aux-fixed/cert2
61 #  tls_privatekey = DIR/aux-fixed/cert2
62 #  tls_verify_certificates = DIR/aux-fixed/cert2
63
64
65 # ----- Retry -----
66
67
68 begin retry
69
70 * * F,5d,10s
71
72
73 # End