DMARC: expand main-config options. Bug 3102
[exim.git] / test / confs / 2148
1 # Exim test configuration 2148
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 tls_advertise_hosts =   *
14 tls_certificate =       DIR/aux-fixed/cert1
15 tls_dhparam =           DATA
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 client:
23   driver =      accept
24   condition =   ${if eq {SERVER}{server}{no}{yes}}
25   retry_use_local_part
26   transport =   send_to_server
27
28 server:
29   driver =      accept
30   retry_use_local_part
31   transport =   local_delivery
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 local_delivery:
39   driver =      appendfile
40   file =        DIR/test-mail/$local_part
41   create_file = DIR/test-mail
42   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
43   user = CALLER
44
45 send_to_server:
46   driver =      smtp
47   allow_localhost
48   hosts =       127.0.0.1
49   port =        PORT_D
50   hosts_try_fastopen =  :
51   tls_verify_certificates =     DIR/aux-fixed/cert1
52   tls_verify_cert_hostnames =   :
53
54 # End