Vineet Arora wrote:
Thanks for your response. I have gone through the FAQ and virtusertable.
I have tried this (virtusertable) also. But didn't work. I think it is
for multiple domains not for the scenario explained below or may be I
could not understand how to implement. Please help!!!!

As someone mentioned, this has been discussed on the ilugd list. I am copying text from the post I had sent to that list, since I did not see that message archived anywhere [tried gmane.org and mail-archive.org]:


<Response>

Generic solution for all MTAs: Create aliases/rewrite rules for offsite addresses. E.g., for sendmail, in /etc/aliases:

offsiteuser: [EMAIL PROTECTED]

E.g. Domain is: abc.net, create a hostname like mail.abc.net, which points to the IP[s] of the MX.

The downside of this this is that the backup MXs would not be used in case the primary is down, but there are two solutions for that:

-> Set up the DNS to return IPs for mail.abc.net same as the MXs in round robin.

-> Setup the mail.abc.net as a CNAME pointing to abc.net. That way the MX resolution for mail.abc.net would be the same as for abc.net. Never tried it and it *might* fail on some MTAs, which start looking at the DNS query reply in detail instead of accepting the returned IPs.

This approach would have the side effect to changing the envolope address to mail.abc.net for mails to offsite users that come from a particular site. Depending on how you see it, that's a feature/bug.

With Exim you can do this by setting up routers/directors/transports accordingly.

Anyone know how to do this in sendmail, without using aliases?

I hate qmail, and never looked at Courier. And, yes, I don't know how to do this with M$ Exchange.

</Response>

--
Regards,
Varun Varma
---------------------------------------
Mindframe Software & Services Pvt. Ltd.
http://www.mindsw.com
---------------------------------------


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to