1 # Exim test configuration 5721
3 .include DIR/aux-var/tls_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
9 acl_smtp_connect = accept logwrite = ACL conn
10 acl_smtp_quit = accept logwrite = ACL quit
11 acl_smtp_notquit = accept logwrite = ACL notquit
13 tls_advertise_hosts = *
14 tls_certificate = DIR/aux-fixed/cert1
16 host_reject_connection = ${acl {hrc}}
17 event_action = ${acl {tls_fail}}
24 accept logwrite = eval host_reject_connection
25 # no mesage= hence host_reject_connection should be empty
28 warn logwrite = EV $event_name
29 accept condition = ${if eq {tls:fail:connect}{$event_name}}
30 logwrite = EVDATA: $event_data