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!tezcat!gail.ripco.com!news.wwa.com!news.ucdavis.edu!dragon.nuxi.com!obrien From: David O'Brien <obrien@dragon.nuxi.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Choosing a Host name Date: 5 Jan 1997 06:39:09 GMT Organization: University of California, Davis Lines: 32 Message-ID: <5aniad$6g2$1@mark.ucdavis.edu> References: <59vihe$a2b@decius.ultra.net> <5a0lop$9bc@uuneo.neosoft.com> <kientzleE3DEr4.Knp@netcom.com> NNTP-Posting-Host: reqb-006.ucdavis.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961203] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33643 In comp.unix.bsd.freebsd.misc kientzle@netcom.com wrote: : Q: Is there an easy way to have ALL mail from my system have : a (fixed) fake From and Reply-To field? It seems that a suitable : sendmail.cfg rule should be able to rewrite those fields, but : I haven't found the magic incantation. If the rewrite could be : varied on a per-user basis, that would be a plus, but by no means : necessary. If your username on your FreeBSD box, and your POP account are the same, the easy way to do this use the masquerade macro in /etc/sendmail.cf. I use: DMcs.ucdavis.edu so that my email appears to have come from my CS account. Of course, if you look at the mail headers, you can tell that it didn't. But all mail software will reply back to the place I want it to. If you POP account name is different than your FreeBSD username, then use the fetchmail package from the ports collection. I use: poll popsrv.quix.com: proto POP3 user foo, with password foobar, is obrien here; To get my email from an ISP. And I have my mailer (Elm and Mutt), add "Reply-to: deobrien@ucdavis.edu" in my mail headers. Netscape can do this also. -- -- David (deobrien@ucdavis.edu)