DMARC: expand main-config options. Bug 3102
[exim.git] / test / confs / 2135
1 # Exim test configuration 2135
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 .ifdef SERVER
6 tls_certificate = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem
7 tls_privatekey = DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
8 .else
9 tls_advertise_hosts =
10 .endif
11
12 primary_hostname = myhost.test.ex
13
14 # ----- Main settings -----
15
16 .ifdef SERVER
17 acl_smtp_rcpt = srvr_rcpt
18 acl_smtp_data = srvr_data
19 .else
20 acl_smtp_rcpt = client_rcpt
21 acl_smtp_data = client_data
22 .endif
23
24 log_selector = +received_recipients +outgoing_port
25
26 .ifdef SERVER
27 queue_only
28 queue_run_in_order = true
29 .endif
30
31 # ----- ACLs -----
32
33 begin acl
34
35 client_rcpt:
36   accept
37         verify =        recipient/callout=use_sender,hold
38
39 client_data:
40   accept
41
42 srvr_rcpt:
43   defer local_parts =   rcpt_defer
44   accept
45
46 srvr_data:
47   defer condition =     ${if eq {data_defer}{${local_part:$recipients}}}
48   accept
49
50 # ----- Routers -----
51
52 begin routers
53
54 target:
55   driver =      redirect
56   condition =   ${if or {{eq {SERVER}{server}} {queue_running}}}
57   data =        :blackhole:
58
59 client:
60   driver =      manualroute
61   route_list=   * 127.0.0.1::PORT_D
62   self =        send
63   transport =   t1
64   errors_to =   ""
65
66 begin transports
67
68 t1:
69   driver =                      smtp
70   port =                        PORT_D
71   hosts_try_fastopen =          :
72   tls_verify_certificates =     DIR/aux-fixed/exim-ca/example.com/CA/CA.pem
73   tls_verify_cert_hostnames =   :
74
75 # ----- Retry -----
76 begin retry
77
78 * * F,5d,10s
79 # End