Tuesday, November 26, 2013

Test send mail: command


Test SMTP relay

Testing SMTP relay is very easy, and simply requires a small change to the above commands. See below:
telnet mydomain 25
ehlo mydomain.com
mail from:<martin9700@mydomain.com>
rcpt to:<recipient@someotherdomain.com>
data
This is a test, please do not respond
.
quit

Ref: spicework