Controlling SMTP Relaying

This link explains how to configure sendmail to relay known (good) domains from your sendmail installation.

http://www.sendmail.org/tips/relaying.php