From owner-freebsd-isp Tue Aug 12 01:07:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA08891 for isp-outgoing; Tue, 12 Aug 1997 01:07:41 -0700 (PDT) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA08879 for ; Tue, 12 Aug 1997 01:07:37 -0700 (PDT) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id SAA13663; Tue, 12 Aug 1997 18:09:20 +1000 (EST) Date: Tue, 12 Aug 1997 18:09:19 +1000 (EST) From: "Daniel O'Callaghan" To: Peter Olsson cc: xiyuan qian , freebsd-isp@FreeBSD.ORG Subject: Re: change the domain name? In-Reply-To: <3.0.32.19970812093239.006fb360@lda> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 12 Aug 1997, Peter Olsson wrote: > Hello! > > >but the mail server can not work. I mean, I can NOT send mail to > >user@mailhost.haplink.com.cn, always get the "mail loop back to myself" > error. > >I only changed the DNS server configuration. How can I configure the sendmail > >to let it handle the messages to haplink.co.cn and haplink.com.cn? > > You must have this new domain in either sendmail.cf or sendmail.cw. > Your old domain should be in there somewhere, use that as example. No, the old domain is not necessarily there, as sendmail can often determine the correct name. However, you should change the hostname setting in /etc/rc.conf (or /etc/sysconfig) to the new name and add the old name to /etc/sendmail.cw or in /etc/sendmail.cf put a line Cw haplink.co.cn Danny