swaks command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
swaks: command not found
or when using sudo you get the following error message
sudo: swaks: command not found
Solutions to swaks: command not found
How To Fix swaks: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu swaks is provided by swaks package.
swaks is:
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 one to stop the SMTP dialog at any stage, e.g to check RCPT TO: without actually sending a mail.
If you are spending too much time iterating “telnet foo.example 25” swaks is for you.
To fix this problem, we can install more using the command below.
sudo apt-get -y install swaks
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install swaks.
sudo apt -y install swaks
Or if you have aptitude installed you can use the following command.
sudo aptitude install swaks
Summary
In this tutorial we learn how to fix swaks command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.