I have configure my sendmail for multiple domains by creating username like
sales@domain1.com
sales@domain2.com
sales@domain3.com
in passwd file
Now I added entry in file /etc/mail/virtusetable like
sales@domain1.com sales\@domain1.com #escape to count as user not email
sales@domain2.com sales\@domain2.com
sales@domain3.com sales\@domain3.com
So when configuring the email client you provide your username as sales@domain1.com,sales@domain2.com etc. I tested with webmail and outlook it works.
Is this the best way to do it ?.Do i need to put the entry in any other file like genericstable.