mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 17:34:51 +02:00
Added tests for SMTP auth
This commit is contained in:
parent
796699f0f1
commit
e97ce868eb
6 changed files with 39 additions and 3 deletions
4
test/auth/imap-auth.txt
Normal file
4
test/auth/imap-auth.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
a1 LOGIN user1@localhost.localdomain mypassword
|
||||
a3 EXAMINE INBOX
|
||||
a4 FETCH 1 BODY[]
|
||||
a5 LOGOUT
|
26
test/auth/smtp-auth-cram-md5.txt
Normal file
26
test/auth/smtp-auth-cram-md5.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
# This is the output of a manual test.
|
||||
# CRAM-MD5 is not (yet) testable with telnet.
|
||||
#
|
||||
# # telnet localhost 25
|
||||
# Trying ::1...
|
||||
# Connected to localhost.
|
||||
# Escape character is '^]'.
|
||||
# 220 mail.my-domain.com ESMTP Postfix (Ubuntu)
|
||||
# ehlo test
|
||||
# 250-mail.my-domain.com
|
||||
# 250-PIPELINING
|
||||
# 250-SIZE 10240000
|
||||
# 250-VRFY
|
||||
# 250-ETRN
|
||||
# 250-STARTTLS
|
||||
# 250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5
|
||||
# 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5
|
||||
# 250-ENHANCEDSTATUSCODES
|
||||
# 250-8BITMIME
|
||||
# 250 DSN
|
||||
# AUTH CRAM-MD5
|
||||
# 334 PDIxMDMyODkzMTMuMTA2Mzg2MjhAbWFpbC5teS1kb21haW4uY29tPg==
|
||||
# dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWluIGJlYjUxNzg4OGE5ZWI0OGM1NjQ2MTYwZGY3NTY1ZWNh
|
||||
# 235 2.7.0 Authentication successful
|
||||
# QUIT
|
||||
# 221 2.0.0 Bye
|
4
test/auth/smtp-auth-login.txt
Normal file
4
test/auth/smtp-auth-login.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
EHLO mail
|
||||
AUTH LOGIN dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWlu
|
||||
bXlwYXNzd29yZA==
|
||||
QUIT
|
3
test/auth/smtp-auth-plain.txt
Normal file
3
test/auth/smtp-auth-plain.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
EHLO mail
|
||||
AUTH PLAIN dXNlcjFAbG9jYWxob3N0LmxvY2FsZG9tYWluAHVzZXIxQGxvY2FsaG9zdC5sb2NhbGRvbWFpbgBteXBhc3N3b3Jk
|
||||
QUIT
|
Loading…
Add table
Add a link
Reference in a new issue