I have configure my sendmail for multiple domains by creating username like
[email protected]
[email protected]
[email protected]
in passwd file
Now I added entry in file /etc/mail/virtusetable like
[email protected] sales\@domain1.com #escape to count as user not email
[email protected] sales\@domain2.com
[email protected] sales\@domain3.com
So when configuring the email client you provide your username as [email protected],[email protected] 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.