On 03/05/04 02:19 -0400, Binand Sethumadhavan wrote:
> Varun Varma posted in linux-india-help:
> > Generic solution for all MTAs: Create aliases/rewrite rules for offsite 
> > addresses. E.g., for sendmail, in /etc/aliases:
> > 
> > offsiteuser: [EMAIL PROTECTED]
> 
<snip>
> On bar.foo.com, a.foo.com is configured as a local domain. On mx1.foo.com,
> foo.com is a local domain (as expected - since MTAs won't touch aliases
> DB for emails that are not meant for local domains).
You don't need a local domain for foo.com with the virtual mapping.
The MTA just does an envelope sender rewrite and sends it on its way.
This is particularly important when local domains and remote domains are
treated differently, say wrt content filtering and domain specific
transports.
The usual solution is:
In your global user maps, create a mapping from
[EMAIL PROTECTED]               [EMAIL PROTECTED]
[EMAIL PROTECTED]               [EMAIL PROTECTED]
[EMAIL PROTECTED]                       [EMAIL PROTECTED]

Further mail routing is done via MX records.
Only one on the .example.com needs to be a local domain. 

With all these being globally routable, we only need to replicate this
map to every server.
This could be stored in LDAP, MySQL, PgSQL, flat files.....

Devdas Bhagat


-------------------------------------------------------
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