Hi,
The local-host-names contain your local domain name what is not forwarded anywhere else. Eg.: local mail communication and internet communication on the same box.
The mailertable contain the forwarded domains. Eg.: The emails come from internet into linux box then filtered spams then go to local Exchange server or another local sendmail box.
The virtusertable contain the multiple domain / multiple user configuration. I think this is for you.
Eg.:
chris@linux.com chris
cnegus@linux.com chris
info@linux.com info-linux
info@mybox.com info-mybox
@domain1.com domain1
@domain2.com %1@linux.com
Or you can forward with .forward file too.
If you use the .forward file you have to put this into sendmail.mc file.:
confDONT_BLAME_SENDMAIL
Or another possibility to forward mails to different account is the aliases file.
Eg.:
info-list: chris, tweeks,
myadminbox@mydomain.com
It means the
info-list@domain.com will be delivered to all that accounts. (the domain.com is in the local-host-name file)
I hope it helped.
Laz