Swaks
SWAKS on macOS
- steve
- May 21, 2025
SWAKS is my favorite SMTP debugging tool.
A new SMTP server I’m building loses pipelining synchronization when connecting via TLS, and I’m sure the bug will be simple to spot if I can send some test messages in to it and watch the sequence of commands. SWAKS is perfect for that.
Read MoreSWAKS: Test your SMTP
- steve
- Jun 5, 2024
We’ve mentioned SWAKS here a few times – but I always use it for delivering test mail directly to a recipient’s MX.
Read MoreDon’t trust Gmail’s Show Original
- steve
- Jan 17, 2024
It’s not always easy to know what the actual headers and body of an email as sent look like. For a long time accepted wisdom was that you could send a copy to your gmail account, and use the Show Original menu option to, well, see the original message as raw text.
Read MoreCan you STARTTLS?
- steve
- Oct 25, 2023
Email supports TLS (Transport Layer Security), what we used to call SSL.
Read MoreLife of an Email
- steve
- Oct 19, 2022
I’m repeating the presentation I gave at M3AAWG in London for the Certified Senders Alliance.
It’s all about how to send an email by hand, and how knowing the mechanics of how an email is sent can help us diagnose email delivery issues.
We’re starting in about five hours from when I post this.
Register at https://register.gotowebinar.com/register/2268789893122531343
SWAKS: the SMTP Swiss Army Knife
- steve
- Oct 21, 2014
SWAKS is a general purpose testing tool for SMTP. For basic SMTP testing it’s a more convenient, scriptable alternative to running a transaction by hand, but it also lets you test things that are difficult to do manually, such as authentication or TLS encryption.
It’s a perl script that installs fairly easily on OS X or any Linux/unix system (and can be installed on Windows, if you have perl installed there).
It’s pretty well documented, but it can be a bit overwhelming to start with. Here are some simple recipes:
Send a test email: