From 7a97480c2bb86d9385597680ec2d4461e1656193 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 19 Jul 2022 23:37:27 +0100 Subject: Event for auth fail --- test/confs/3418 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/confs/3418 (limited to 'test/confs/3418') diff --git a/test/confs/3418 b/test/confs/3418 new file mode 100644 index 000000000..42413b4e4 --- /dev/null +++ b/test/confs/3418 @@ -0,0 +1,38 @@ +# Exim test configuration 3418 + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex + +# ----- Main settings ----- + +domainlist local_domains = test.ex : *.test.ex + +auth_advertise_hosts = 10.0.0.5 +trusted_users = CALLER + +event_action = ${acl {logger}} + +# ----- ACL ----- + +begin acl + +.include DIR/aux-fixed/event-logger-acl + + + +# ----- Authentication ----- + +begin authenticators + +testname: + driver = plaintext + public_name = mylogin + server_debug_print = +++MYLOGIN \$1="$1" \$2=\"$2" \$3="$3" + server_condition = "\ + ${if match{$1}{^(\\\\S+)\\\\s+(\\\\S+)\\$}\ + {${if and {{eq{$1}{userx}}{eq{$2}{secret}}}{yes}{no}}}{no}}" + server_set_id = $auth1 + + +# End -- cgit v1.2.3