*BSD News Article 59983


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!newsfeed.internetmci.com!info.ucla.edu!library.ucla.edu!news.ucdavis.edu!not-for-mail
From: obrien@cs.ucdavis.edu (David E. O'Brien)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Getting hostname out of mail address.
Date: 24 Jan 1996 11:35:42 GMT
Organization: University of California, Davis
Lines: 17
Message-ID: <4e55ie$qn7@mark.ucdavis.edu>
References: <mitch4DLM1Fo.9v@netcom.com>
NNTP-Posting-Host: toadflax.cs.ucdavis.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

mitch goldstrom (mitch4@netcom.com) wrote:
: I know that this is real easy, but I couldn't find the FAQ.
: 
: When I send mail, it says mitch@firewal.visfx.com to the recipient.
: How do I just make it say mitch@visfx.com?

Hack /etc/sendmail.cf.  Probably want to have a try at ``masquerade''.

Don't forget to make sure your box also understands ``visfx.com'' is also
its name (besides ``firewal.visfx.com'').  I *believe* for this version of
send mail you want to add to the ``Cw'' class list.

Sorry, more famailar with SunOS's sendmail.cf setup.  But maybe this is
enough to get you started.  If you do much of this, you really do want the
O'Reilley Sendmail (aka Bat book) book.

-- David   (obrien@cs.ucdavis.edu)