If you dont like using telnet to test a remote or local smtp server , swaks is a neat little tool to do the job for you. its also available ( suprise suprise … ) in the freebsd ports : /usr/ports/mail/swaks.
found it first here