This is a long-needed patch for gmail.
If you use gmail for email, and want to make it appear that the messages are going out through your corporate servers vs. the gmail system, this is how to make it work:
http://gmailblog.blogspot.com/2009/07/send-mail-from-another-address-without.html