Skip to content

DPotW: swaks

Description: SMTP command-line test tool
 swaks (Swiss Army Knife SMTP) is a command-line tool written in Perl
 for testing SMTP setups; it supports STARTTLS and SMTP AUTH (PLAIN,
 LOGIN, CRAM-MD5, SPA, and DIGEST-MD5). swaks allows to stop the SMTP
 dialog at any stage, e.g to check RCPT TO: without actually sending a
 If you are spending too much time iterating "telnet foo.example 25"
 swaks is for you.

A very important tool which makes debugging e-mail a breeze. A must for every mail admin.


No Trackbacks


Display comments as Linear | Threaded

Carsten on :

thanks a lot for this great tip

Maurice Massar on :


smtptest, part of cyrus clients (any version), which cointains test-clients for other protocols (pop3, imap, lmtp) too..

James on :

You should submit this to

Add Comment

Markdown format allowed
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
Form options