From owner-freebsd-questions Tue Sep 24 17:35:49 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA04225 for questions-outgoing; Tue, 24 Sep 1996 17:35:49 -0700 (PDT) Received: from cube.i-pi.com (cube.i-pi.com [198.49.217.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA04201 for ; Tue, 24 Sep 1996 17:35:39 -0700 (PDT) Received: (from ingham@localhost) by cube.i-pi.com (8.6.12/8.6.12) id SAA26738; Tue, 24 Sep 1996 18:35:23 -0600 From: Kenneth Ingham Message-Id: <199609250035.SAA26738@cube.i-pi.com> Subject: Re: virtual hosts and sendmail ? To: dwhite@resnet.uoregon.edu Date: Tue, 24 Sep 1996 18:35:22 -0600 (MDT) Cc: tlayton@global-sol.com, questions@freebsd.org In-Reply-To: from "Doug White" at Sep 24, 96 03:44:50 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I have sendmail up and running for my server and my domain. I am > > virtual hosting for a couple non-profit org's and would like to give > > them e-mail to their own domain. Does any one know what the > > syntax would be in the sendmail.cf file to do this ? > > You'll want to use a MX record for the alternative hosts, then put their > names on the Cw line in sendmail.cf. You'll know if you forget any, as > you'll get 'mail loops back to myself' messages. Or use the file option, easier to keep up-to-date in my opinion. Here's the line from my sendmail.cf (generated from the m4 files that come with sendmail source) that references it: Fw-o /etc/sendmail.cw Kenneth