Created
February 26, 2015 10:26
-
-
Save boodle/5321accc7be72431b086 to your computer and use it in GitHub Desktop.
Testing IMAP and SMTP via command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMAP testing: | |
openssl s_client -connect [service ip address]:993 | |
a1 LOGIN [username] [password] | |
a2 LIST "" "*" | |
a3 EXAMINE INBOX | |
SMTP testing: | |
telnet localhost 25 | |
HELO local.domain.name | |
AUTH LOGIN | |
[base64 encoded username] | |
[base64 encoded master] | |
STARTTLS | |
MAIL FROM: [email protected] | |
RCPT TO: [email protected] | |
DATA | |
Subject: Test subject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment