If you use better thread titles that actually describe your question or problem, you might get more responses.
But you're asking a question that is not uncommon and most likely outlined in the docs for sendmail. Perhaps you need to search, scan and read, then come back if you run into issues configuring or don't understand something.
Keyword though is: virtual domains
Start here: http://www.sendmail.org/documentation