Sendmail - Masquerading multiple domains with different addresses
Hello Friends,
I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to masquerade these as under home.com > (123.com - just fictitious) example.com > (456.com) test.com > (789.com) So how can i achieve this functionality, because by default MASQUERADE_AS(`key_value') directive will masquerade all the domains with the value specified. |
Quote:
http://www.techrepublic.com/article/...omains/5033970 Tells you how to set up sendmail to handle multiple domains. |
Quote:
I read that article and was working my way through it, however i am facing a small issue in generating the genericstable.db file using makemap. This is the error i get Code:
#makemap dbm genericstable < genericstable So could you please guide a bit. Secondly with hash db i am able to generate the genericstable.db file but the domain masquerading is not working as desired. Here are the various config files: Code:
Code:
genericstable file |
Quote:
Quote:
|
Quote:
Not sure if you understood the question clearly, my doubt here is why makemap is not working with dbm but with hash ? Quote:
box.example.com > 123.home.com host1.example.com > 456.home.com This is what i am trying to achieve that is box.example.com should masquerade to 123.home.com and host1.example.com should masquerade to 456.home.com and this is what is not working. |
Can somebody please reply
|
Can anyone please respond,
|
All times are GMT -5. The time now is 02:59 PM. |