Docs: typos and clarification of DMARC sender
[users/heiko/exim.git] / test / confs / 2113
1 # Exim test configuration 2113
2
3 SERVER =
4 PEX = :
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+smtp_connection+incoming_port+received_recipients
15
16 queue_only
17 queue_run_in_order
18
19 smtp_accept_max_nonmail = 0
20
21 tls_advertise_hosts = *
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 .ifdef REQUIRE
34 cl_override:
35   driver = manualroute
36   route_data = HOSTIPV4
37   retry_use_local_part
38   transport = send_to_server
39   self = send
40 .endif
41
42 client:
43   driver = accept
44   condition = ${if eq {SERVER}{server}{no}{yes}}
45   retry_use_local_part
46   transport = send_to_server
47
48 server:
49   driver = accept
50   retry_use_local_part
51   transport = local_delivery
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 local_delivery:
59   driver = appendfile
60   file = DIR/test-mail/${bless:$local_part}
61   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
62   user = CALLER
63
64 send_to_server:
65   driver = smtp
66   allow_localhost
67   hosts_override
68   hosts = 127.0.0.1
69   port = PORT_D
70   hosts_try_fastopen =  :
71   hosts_noproxy_tls = PEX
72   tls_try_verify_hosts = :
73
74 # End