Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation

Swaks - Swiss Army Knife for SMTP

Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test tool written and maintained by John Jetmore. It is free to use and licensed under the GNU GPLv2. Features include:

  • SMTP extensions including TLS, authentication, pipelining, PROXY, PRDR, and XCLIENT
  • Protocols including SMTP, ESMTP, and LMTP
  • Transports including UNIX-domain sockets, internet-domain sockets (IPv4 and IPv6), and pipes to spawned processes
  • Completely scriptable configuration, with option specification via environment variables, configuration files, and command line

The official project page is


The latest version of Swaks is 20240103.0 (announcement), which can be downloaded as a package or a standalone script.

See the installation page for details on installing in multiple environments.

There is also a versions page which lists every released version of Swaks, complete with changelogs and download links.


The reference documentation from the latest release, which includes quick-start examples, is available as plain text and rendered. The documentation from each release is available from the versions page. There is also an Occasionally Asked Questions document.


Feedback and meaningful questions about how to use Swaks are welcome. However, since Swaks is only maintained by a single person as a hobby, there is no guarantee of a timely response.

Release Notification

  • Send a mail. You will receive notifications of new releases via email. No other email will ever be sent to this list.
  • Follow @SwaksSMTP on twitter. Very rarely contains non-release content.
  • Blog. Swaks-specific blog category (RSS available). Very rarely contains non-release content.

Help and Feedback

  • Issues - Open an issue for feature requests and bugs.
  • Contact the author - suggestion, tips, patches, feedback, critiques always welcome.