stat portability
[users/jgh/exim.git] / test / confs / 2025
1 # Exim test configuration 2025
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 log_selector =  +tls_peerdn+tls_certificate_verified
14
15 queue_only
16 queue_run_in_order
17
18 tls_advertise_hosts = *
19
20 tls_require_ciphers = ${if eq{$sender_host_address}{HOSTIPV4}\
21                       {NONE}{SECURE256}}
22
23 # Set certificate only if server
24
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 client:
34   driver = accept
35   condition = ${if eq {SERVER}{server}{no}{yes}}
36   retry_use_local_part
37   transport = send_to_server
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 send_to_server:
45   driver = smtp
46   allow_localhost
47   hosts = HOSTIPV4 : 127.0.0.1
48   hosts_require_tls = HOSTIPV4
49   port = PORT_D
50
51
52 # ----- Retry -----
53
54
55 begin retry
56
57 * * F,5d,10s
58
59
60 # End