Configuring SendMail To Act As A SmartHost & To Rewrite From-Address
This tutorial explains how to configure a sendmail server to forward all mails generated from localhost to another SMTP server for sending mails to remote recipients. Also it explains how to rewrite the from address of user@localhost.localdomain to user@example.com.
Read more...