I have a SMTP-server, for the purpose of this question lets call it: smtp.mydomain.com.
How do i check if the SMTP-server is in working? Can I send emails from Linux commandline?
I have a SMTP-server, for the purpose of this question lets call it: smtp.mydomain.com.
How do i check if the SMTP-server is in working? Can I send emails from Linux commandline?
The only thing about using telnet to test postfix, or other SMTP, is that you have to know the commands and syntax. Instead, just use swaks :)
It's just one easy command.
Not sure if this help or not but this is a command line tool which let you simply send test mails from a SMTP server priodically. http://code.google.com/p/woodpecker-tester/
Telnet to your smtp server like
Syntax :
And copy and paste the below
Note : Do not forgot the "." at the end which represents the end of the message
I found this on the web, and added this to Stack Overflow as many end up here.