domain name, machine name alias

Alexander Dalloz ad+lists at uni-x.org
Sat Nov 4 19:27:08 UTC 2006


Dan McCullough schrieb:

> On 11/4/06, Dan McCullough <dan.mccullough at gmail.com> wrote:
>
>> okay so if mail comes in for mail.domain.com the local-host-names will
>> "map" that to mail1.domain.com so it doesn't bounce or anything. 
>
No, local-hosts-names is no map. It only tells the MTA which domain 
names are to be treated being local.
So if you run Sendmail (as only for that MTA local-host-names is the 
default file name specifying local domains) and you configured the DNS 
zone for domain.com to have an MX pointing to the mail1.domain.com A 
PTR, Sendmail will respect domain.com to be local if it appears in class 
{w}. To be checked running "echo '$=w' | /usr/lib/sendmail -bt". All 
aliases from the former machine setup should work as before if you did 
transferred them. Or you may run a virtusertable.
If you run a different MTA like Postfix or Exim the setup is a bit 
different. If you did not switch the MTA from the old MX host to the new 
one then you will just have to set the new one up as the old one and 
correct the DNS MX record.

Alexander




More information about the users mailing list