I received SMTP server information and credentials and want to test if they work.
How can I easily test a SMTP connection on Linux using the command line?
I know I can do this via telnet / openssl but this seems very complicated.
So how to check a SMTP server?
Best Answer
The tool
swaks
comes in handy hereOn Ubuntu it's
Then you can run the command and will see the SMTP dialog
As you can see here, it's needs authentication, this is why we rerun with
Check the man page for further information