X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1d717e1c110562fd6bf28478c79f180cafeba776..982854f86c4acc7779b6b65094ba557a9fcd50d6:/test/confs/5702?ds=sidebyside diff --git a/test/confs/5702 b/test/confs/5702 index e796406c8..442c42b6f 100644 --- a/test/confs/5702 +++ b/test/confs/5702 @@ -2,43 +2,55 @@ .include DIR/aux-var/std_conf_prefix + # ----- Main settings ----- +acl_smtp_rcpt = accept +acl_smtp_data = accept + event_action = ${acl {logger}} + # ----- ACL ----- begin acl .include DIR/aux-fixed/event-logger-acl +conn_deny: + accept !condition = ${if eq {tcp:connect}{$event_name}} + deny logwrite = Denying tcp connection + message = deny + # ----- Routers ----- begin routers -route_userx: +dump_bounces: driver = redirect - local_parts = userx - allow_filter - file = DIR/aux-fixed/TESTNUM.filter - user = EXIMUSER - no_more + senders = : + data = :blackhole: -route_smtp: +others: driver = manualroute route_list = * 127.0.0.1 byname self = send transport = smtp + errors_to = "" no_more + # ----- Transports ----- begin transports smtp: - driver = smtp - port = PORT_S - hosts_try_fastopen = : - event_action = ${acl {logger}} + driver = smtp + port = PORT_S + event_action = ${acl {conn_deny}} + +# ----- Retry ----- +begin retry +* * F,5d,10s # End