radius dynamic module
[exim.git] / test / confs / 3418
index 42413b4e49c8444ab1f36662313f095312a89ca7..887f2184db778c75905865d13cd7616d125251cd 100644 (file)
@@ -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 -----