*BSD News Article 94427


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.maxwell.syr.edu!cam-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!news.alt.net!newspost1.alt.net!usenet
From: eyager@novagate.com (Eric Yagerlener)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Return address with "mail"
Date: Fri, 25 Apr 1997 13:55:43 GMT
Organization: One FreeBSD box
Lines: 19
Message-ID: <5jqknd$63g@tofu.alt.net>
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39722


I have the old 2.1.0 release running on my box.  When I reply by mail in 
tin, it send my mail out with the return address eyager@localhost.  This 
is not good, because the localhost gets transformed to whatever the 
domain name the machine recieving it was.  The same problem will occur if 
you use the "mail" program that was part of the distribution.

How would I do to fix this problem?  If somehow I changed the sendmail 
configuration to translate @localhost to mean @novagate.com, I still 
would have a problem because all the mail for news, root, and all the 
other pseudo-accounts on my system will get sent to my ISP's mail 
server.  I doubt that they would be interested in recieving all of my mail.

Here is the tricky part...  How would I configure sendmail to translate 
eyager@localhost to eyager@novagate.com and leave all the other addresses 
alone?  The version of sendmail I seem to have is 8.6.12.

Thanks

eyager@novagate.com