Make an SMTP connection to the server, and do a 'Sender-Verify' lookup:
telnet 25
helo here.com
mail from: here@there.com
rcpt to: asdfasdf@yahoo.com
data
You'll either get a code to proceed with transmission, or be given an recipient invalid message.