1 # Exim test configuration 5711
3 .include DIR/aux-var/tls_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
9 acl_smtp_connect = check_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}}
26 warn logwrite = eval host_reject_connection
27 accept condition = ${if eq {$received_port}{PORT_D}}
28 # no mesage= hence host_reject_connection should be empty
29 deny condition = ${if eq {$received_port}{PORT_D2}}
31 # PORT_D2 gets a host_reject_connection
34 warn logwrite = ACL conn
35 deny condition = ${if eq {$received_port}{PORT_D3}}
36 log_message = we dislike you
37 # PORT_D3 gets a conn ACL fail
41 warn logwrite = EV $event_name
42 accept condition = ${if eq {tls:fail:connect}{$event_name}}
43 logwrite = EVDATA: $event_data