summaryrefslogtreecommitdiff
path: root/test/confs/3418
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-07-19 23:37:27 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-07-19 23:37:27 +0100
commit7a97480c2bb86d9385597680ec2d4461e1656193 (patch)
tree46f2211324f2fd4d333cbb48c9c41acd9fd65118 /test/confs/3418
parente7ec503729970a03d4509921342bc81313976126 (diff)
Event for auth fail
Diffstat (limited to 'test/confs/3418')
-rw-r--r--test/confs/341838
1 files changed, 38 insertions, 0 deletions
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