#
telnet
#
Test telnet server for anonymous relay
telnet mailserver 25
helo domain.com
mail from: someuser@domain.com
rcpt to: you@yourdomain.com
data
Email send test blah blah blah.
.
(Last line is just a period and then press Enter)
Also, press Ctrl plus the ] key to exit the telnet session.