*BSD News Article 84949


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!arclight.uoregon.edu!news.uoregon.edu!Symiserver2.symantec.com!news
From: tedm@agora.rdrop.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Alias on ethernet interface
Date: 14 Dec 1996 06:05:23 GMT
Organization: Symantec Corp.
Lines: 41
Message-ID: <58tg33$nli@Symiserver2.symantec.com>
References: <58olkl$j4p@samba.rahul.net>
Reply-To: tedm@agora.rdrop.com
NNTP-Posting-Host: shiva3.central.com
X-Newsreader: IBM NewsReader/2 v1.2.5
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32567

In <58olkl$j4p@samba.rahul.net>, Rainer Busch <busch@rahul.net> writes:
>This is one for the  networking experts:
>
>we are changing our provider. Now I want to be able to receive e-mail etc.
>for some time at the new as well as the old internet address.  Both lines 
>and routers are active.
>Now I changed the address of ed0 to the new address, and aliased the old:
>

Forget all that IP number aliasing crap.  If you want to receive e-mail from the
old address and the new address on the same machine simply point both MX
records to the same machine.  For example:

old name:

foo.bar.com        IP number 123.456.789.10

The DNS entry looks llike this:

foo.bar.com   A   123.456.789.10
foo.bar.com   MX   foo.bar.com


New name:

snafu.foo.com     IP number 109.876.543.21

The DNS entry looks like this:

snafu.foo.com    A    109.876.543.21
snafu.foo.com    MX   snafu.foo.com


Change the DNS entry for foo.bar.com to:

foo.bar.com    MX   snafu.foo.com


Now, modify the sendmail.cf file on snafu.foo.com to accept inbound SMTP mail
for both names and your in business.