*BSD News Article 74191


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!sgigate.sgi.com!nntp.coast.net!news-res.gsl.net!news.gsl.net!hunter.premier.net!netaxs.com!mhv.net!news.sprintlink.net!news-dc-5.sprintlink.net!news.sprintlink.net!news-dc-2.sprintlink.net!news.cc.sunysb.edu!eric
From: eric@rust.path.sunysb.edu (Eric Brager)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Virtual Host Email problems
Date: 19 Jul 1996 13:23:05 GMT
Organization: State University of New York at Stony Brook
Lines: 42
Message-ID: <4so27p$fft@abel.cc.sunysb.edu>
References: <rroman-1707961814320001@marvin.eva.net>
NNTP-Posting-Host: rust.path.sunysb.edu
X-Newsreader: TIN [version 1.2 PL2]

Randall Roman (rroman@accessnv.com) wrote:

: I'm trying to configure virtual hosts under BSDI 2.1 and am having
: problems setting up unique email namespace as specified in the manual.
: Instead of mapping user@my.virtual.doman to the local address
: user.myvirtual, the address is mapped to @user[XXX].  Is the
: ruleset in the manual incorrect?

: Randy

: -- 
: Randall Roman
: rroman@accessnv.com


Hello,

I am not sure if what I did is exactly what you are doing, but
here is how I did it.

In my netstart I put in lines:

ifconfig ef0 alias xx.xx.xx.xx

and a:

route add xx.xx.xx.xx 127.0.0.1

to make my life easier.

   Lastly I put this line in my sendmail.cf

Cw new.ip.name.com

You can also manage these new Cw's with a file 
called sendmail.cw. There are many man pages
and docs about adding a domain name to sendmail.

I hope this helps, sorta.

-Eric