*BSD News Article 94949


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!vixen.cso.uiuc.edu!saluki-news.it.siu.edu!slip106.termserv.siu.edu
From: jimd@slip106.termserv.siu.edu (Jim Dutton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Sendmail
Date: Fri, 09 May 1997 21:07:38 CST
Organization: Southern Illinois University
Lines: 16
Sender: NNTP@slip106.termserv.siu.edu
Message-ID: <24675317.u9t27e.1046c@slip106.termserv.siu.edu>
Reply-To: jimd@slip106.termserv.siu.edu
NNTP-Posting-Host: slip106.termserv.siu.edu
Comment: AmigaNOS v2.9p
In-Reply-To: <01bc5bdb$64f6e9c0$0a163fd1@chris.redrock.net>
	     (from "Chris" <PiPeR@redrock.net>)
	     (at 8 May 97 18:13:32 GMT)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40683

Hi Chris, on May 8 you wrote:

> Can someone explain how to modify sendmail (I presume) on a FreeBSD box
> so that I can send mail to the same name at different domains hosted on the
> same 
> machine: ie: webmaster@mydomain.com
>              and webmaster@yourdomain.com
> 
> where mydomain.com and yourdomain.com are both being virtual hosted on the
> same server?

Assuming that you are authoritative for both "mydomain.com" and "yourdomain
com", you need to make sure that both domains are defined in Sendmail's
"w" Class macro (ie; Cw). You can do this either in the .cf file or in an
external file that Sendmail reads and uses to build the "w" Class macro.