Skip to content

Instantly share code, notes, and snippets.

@boodle
Created February 26, 2015 10:26
Show Gist options
  • Save boodle/5321accc7be72431b086 to your computer and use it in GitHub Desktop.
Save boodle/5321accc7be72431b086 to your computer and use it in GitHub Desktop.
Testing IMAP and SMTP via command line
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