From owner-freebsd-questions Mon Sep 25 12:27:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87]) by hub.freebsd.org (Postfix) with ESMTP id 041E637B43E for ; Mon, 25 Sep 2000 12:26:52 -0700 (PDT) Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e8PJQmx79574; Mon, 25 Sep 2000 15:26:48 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Date: Mon, 25 Sep 2000 15:26:48 -0400 (EDT) From: Matthew Emmerton To: Wai Chan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 25 Sep 2000, Wai Chan wrote: > Hi all, > > I know this is not related to freebsd-questions, but I receive no reply/help > from sendmail's mailing's list, freebsd-question is my only hope left. I > hope someone on this list could help me. > > I have a box called abc.abc.com. I would like abc.abc.com masquerade as > xyz.abc.com. > > So I added the following to sendmail.cf > Djabc.abc.com > DMxyz.abc.com > and added the following to the dns: > xyz.abc.com. IN A 111.111.111.111 > IN MX 10 xyz.abc.com. > abc.abc.com. IN CNAME xyz.abc.com. > > Sending and receiving email is fine with this setting, howerver, the return > address is still shown as username@abc.abc.com instead of > username@xyz.abc.com. > > Please, someone show me how to get the configuration right, so I can have > username@xyz.abc.com. Thanks!! I believe you need to use the genericstable feature of sendmail. There are details on sedmail.org's site about this feature. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message