I posted awhile back on this, wanted to try explaining it again and get some fresh eyes on this:
Say you are hosting multiple domains on one system running linux with sendmail 8.x. Now what if one domain has
support@domain1.com and the other
support@domain2.com
Normally you would create a local account support but since the name is needed for both you have to create different local names correct? So locally you create support1 and support2. Incoming you use virtualtable so for example
support@domain1.com goes to support1 locally and then
support@domain2.com goes to support2 locally.
That part works... I think. The part I need help with is outgoing email. When I send from support1 it needs to say
support@domain1.com, and for support2 it needs to say
support@domain2.com in the from address as well.
I cant seem to get that to work. I thought this was done using genericstable. But I cant seem to get it to work. I looked at the virtual hosting document on sendmail.org and did what was instructed but no matter what I did, when I sent from support1 mailbox, the receipient always sees
support1@domain1.com instead of
support@domain1.com.
Please Help!
Thanks
Silly