summaryrefslogtreecommitdiff
path: root/test/confs/3901
diff options
context:
space:
mode:
Diffstat (limited to 'test/confs/3901')
-rw-r--r--test/confs/390167
1 files changed, 67 insertions, 0 deletions
diff --git a/test/confs/3901 b/test/confs/3901
new file mode 100644
index 000000000..5c7e7298a
--- /dev/null
+++ b/test/confs/3901
@@ -0,0 +1,67 @@
+# Exim test configuration 9351
+
+SERVER=
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+acl_smtp_rcpt = check_recipient
+
+tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+
+tls_verify_hosts = HOSTIPV4
+tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
+
+queue_only
+
+# ----- ACL -----
+
+begin acl
+
+check_recipient:
+ deny message = authentication required
+ !authenticated = *
+ accept
+
+
+# ----- Route -----
+
+begin routers
+
+all:
+ driver = accept
+ transport = server
+ errors_to =
+
+begin transports
+
+server:
+ driver = smtp
+ hosts = 127.0.0.1
+ allow_localhost
+ port = PORT_D
+ hosts_require_auth = *
+
+# ----- Authentication -----
+
+begin authenticators
+
+dovecot:
+ driver = dovecot
+ public_name = PLAIN
+ server_socket = 127.0.0.1 PORT_S
+.ifdef TRUSTED
+ server_tls = true
+.endif
+ server_set_id = $auth1
+
+client:
+ driver = plaintext
+ public_name = PLAIN
+ client_send = ^username^mysecret
+
+# End