Docs: subsections
[exim.git] / test / confs / 5721
1 # Exim test configuration 5721
2
3 .include DIR/aux-var/tls_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_connect = accept logwrite = ACL conn
10 acl_smtp_quit =    accept logwrite = ACL quit
11 acl_smtp_notquit = accept logwrite = ACL notquit
12
13 tls_advertise_hosts = *
14 tls_certificate = DIR/aux-fixed/cert1
15
16 host_reject_connection = ${acl {hrc}}
17 event_action = ${acl {tls_fail}}
18
19 # ------ ACL ------
20
21 begin acl
22
23 hrc:
24   accept        logwrite = eval host_reject_connection
25                 # no mesage= hence host_reject_connection should be empty
26
27 tls_fail:
28   warn          logwrite =  EV $event_name
29   accept        condition = ${if eq {tls:fail:connect}{$event_name}}
30                 logwrite =  EVDATA: $event_data
31   accept
32
33
34 # End