diff options
-rw-r--r-- | test/confs/9350 | 39 | ||||
-rw-r--r-- | test/log/9350 | 4 | ||||
-rw-r--r-- | test/rejectlog/9350 | 3 | ||||
-rw-r--r-- | test/stderr/9350 | 2 | ||||
-rw-r--r-- | test/stdout/9350 | 21 |
5 files changed, 69 insertions, 0 deletions
diff --git a/test/confs/9350 b/test/confs/9350 new file mode 100644 index 000000000..fd75156f5 --- /dev/null +++ b/test/confs/9350 @@ -0,0 +1,39 @@ +# Exim test configuration 3650 + +SERVER= + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +rfc1413_query_timeout = 0s +spool_directory = DIR/spool +log_file_path = DIR/spool/log/SERVER%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +# ----- Main settings ----- + +acl_smtp_rcpt = check_recipient + + +# ----- ACL ----- + +begin acl + +check_recipient: + deny message = authentication required + !authenticated = * + accept + + +# ----- Authentication ----- + +begin authenticators + +dovecot: + driver = dovecot + public_name = PLAIN + server_socket = /var/run/dovecot/auth-client + server_set_id = $auth1 + +# End diff --git a/test/log/9350 b/test/log/9350 new file mode 100644 index 000000000..8d693548e --- /dev/null +++ b/test/log/9350 @@ -0,0 +1,4 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 +1999-03-02 09:44:33 dovecot authenticator failed for (xxxx) [127.0.0.1]: 535 Incorrect authentication data (set_id=userx) diff --git a/test/rejectlog/9350 b/test/rejectlog/9350 new file mode 100644 index 000000000..1af78c03d --- /dev/null +++ b/test/rejectlog/9350 @@ -0,0 +1,3 @@ + +******** SERVER ******** +1999-03-02 09:44:33 dovecot authenticator failed for (xxxx) [127.0.0.1]: 535 Incorrect authentication data (set_id=userx) diff --git a/test/stderr/9350 b/test/stderr/9350 new file mode 100644 index 000000000..045fadc9b --- /dev/null +++ b/test/stderr/9350 @@ -0,0 +1,2 @@ + +******** SERVER ******** diff --git a/test/stdout/9350 b/test/stdout/9350 new file mode 100644 index 000000000..87f70de47 --- /dev/null +++ b/test/stdout/9350 @@ -0,0 +1,21 @@ +Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO xxxx +??? 250- +<<< 250-myhost.test.ex Hello xxxx [127.0.0.1] +??? 250- +<<< 250-SIZE 52428800 +??? 250- +<<< 250-PIPELINING +??? 250- +<<< 250-AUTH PLAIN +??? 250 +<<< 250 HELP +>>> AUTH PLAIN AHVzZXJ4AHNlY3JldA== +??? 535 +<<< 535 Incorrect authentication data +>>> quit +??? 221 +<<< 221 myhost.test.ex closing connection +End of script |