summaryrefslogtreecommitdiff
path: root/test/confs/3418
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-07-21 16:41:25 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-07-21 16:41:25 +0100
commit9b3a1518f52a1de4469c85af8dde74489b974a66 (patch)
tree64356765aa6683c04d3ee4b3520e73fa4d4d1f52 /test/confs/3418
parent7a97480c2bb86d9385597680ec2d4461e1656193 (diff)
Event for auth fail: client side
Diffstat (limited to 'test/confs/3418')
-rw-r--r--test/confs/34188
1 files changed, 7 insertions, 1 deletions
diff --git a/test/confs/3418 b/test/confs/3418
index 42413b4e4..887f2184d 100644
--- a/test/confs/3418
+++ b/test/confs/3418
@@ -11,7 +11,7 @@ domainlist local_domains = test.ex : *.test.ex
auth_advertise_hosts = 10.0.0.5
trusted_users = CALLER
-event_action = ${acl {logger}}
+event_action = ${acl {auth_event}}
# ----- ACL -----
@@ -19,6 +19,12 @@ begin acl
.include DIR/aux-fixed/event-logger-acl
+auth_event:
+ warn acl = logger
+ accept condition = ${if eq {$event_name}{auth:fail}}
+ message = custom-message: $sender_host_authenticated authenticator failed \
+ H=$sender_fullhost [$sender_host_address] $event_data $authenticated_fail_id
+
# ----- Authentication -----