Swaks

When testing a new MTA configuration, most administrator make an SMTP connection by hand using telnet. That fine, but there is a little tool to simplify the job: swaks

To send a mail to the local MTA with a from ex@ample.com to the adress foo@bar.org:

# swaks  -f ex@ample.com -t foo@bar.org -s 127.0.0.1

Further Reading and sources