The sys admin’s daily grind: Swaks

For the Protocol

Article from Issue 145/2012
Author(s):

Searching for errors on an SMTP server via Telnet and test mails can seem like a never-ending obstacle course. The utility called Swaks helps bring the finish line within reach.

SMTP is a plain text protocol, which proves to be quite useful when searching for errors on the mail server. I can simply connect to port 25 via Telnet and then act like a mail client. By means of the server’s answers, I can quickly see where the problem is – theoretically, at least. In practice, as you may have already guessed, things don’t go that smoothly.

SMTP has become fatter and fatter over the years, not least because security functions were desperately needed. Although basic commands like HELO <FQDN> or RCPT are easy for me to type quickly, authentication with CRAM-SHA-1 no longer has anything to do with plain text as far as I am concerned, and any fun I might have been having is long gone.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Bot_Attack

    While going about his normal duties, Linux Magazine author Charly Kühnast was hit with a mean attack. Charly’s separate anti-spam server, which sits in front of his mail server, saved him from the mail storm.

  • Charly's Column

    Checking email for viruses is typically the domain of the SMTP gateway or a server directly downstream of it. In this month’s column, Charly decides to move this protection to the other side – that is, to the client connections
    with their SMTP and POP servers.

  • Charly's Column – testssl.sh

    Back in the day, integrating and function testing an SSL certificate was an easy thing to do. Now, you can use a shell script that talks plain English, despite the Babylonian confusion of key protocols and ciphers.

  • Standing Firm: The Tarmail Mail Server

    Version 1.0.0 of the Tarmail mail server has just been released. The developers claim that their software is particularly resilient against exploits, spam and email worms.

  • Introduction

    Charly has a web mailer on his server just for family and friends. Last weekend he ditched the overly simplistic SquirrelMail for a Web 2.0 program.

comments powered by Disqus