diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-01-19 22:28:54 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-01-19 22:28:54 +0000 |
commit | 1fa1333ca1a744ce7fa8af3fc73872b082631fe3 (patch) | |
tree | 248a16ed5a77a3a2eec04011f83f76ae887bb65d /test/confs/5707 | |
parent | f0be4dfa19120173aa76001d31b2cd90284ecd07 (diff) |
Events: log a non-success when a client connect is denied by an event
Diffstat (limited to 'test/confs/5707')
-rw-r--r-- | test/confs/5707 | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/test/confs/5707 b/test/confs/5707 new file mode 100644 index 000000000..35d5eff47 --- /dev/null +++ b/test/confs/5707 @@ -0,0 +1,56 @@ +# Exim test configuration 5707 + +.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 + +dump_bounces: + driver = redirect + senders = : + data = :blackhole: + +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 + event_action = ${acl {conn_deny}} + +# ----- Retry ----- +begin retry +* * F,5d,10s + +# End |