It depends on how complicated your setup is. On one of my boxes I'm running 3 small web sites and to allow sendmail to handle their mail I've added the domains to /etc/mail/local-host-names. I've also added the allowed email addresses to /etc/mail/virtusertable. The virtusertable support needed to be included in sendmail.cf by adding an entry to sendmail.mc before generating the .cf file:
Code:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl