*BSD News Article 97159


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!EU.net!newsfeed.Austria.EU.net!newscore.univie.ac.at!news-ge.switch.ch!in2p3.fr!univ-lyon1.fr!pasteur.fr!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: roberto@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.mail.sendmail
Subject: Re: sendmail/domain question
Date: 5 Jun 1997 15:12:27 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 19
Message-ID: <5n6l0r$enj$4@polaris.eurocontrol.fr>
References: <jl25n5.gn2.ln@dolphin.neosoft.com>
NNTP-Posting-Host: caerdonn.eurocontrol.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: trn 4.0-test58 (13 May 97)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42451 comp.mail.sendmail:41623

    [courtesy cc of this posting sent to cited author via email]

In article <jl25n5.gn2.ln@dolphin.neosoft.com>,
Conrad Sabatier <conrads@neosoft.com> wrote:
> What I'd like to do is have sendmail strip the "dolphin" part, leaving
> only "neosoft.com" as my domain in the header, or perhaps substitute
> "localhost" for "dolphin", without altering the From or Reply-to addresses
> (which are configured properly as "conrads@neosoft.com" in my mail, news,
> etc. progs). 

You could use

FEATURE(masquerade_envelope)

inside your sendmail's configuration file (.mc). That way, both From: and
envelope will be masqueraded.
-- 
Ollivier ROBERT -=- FreeBSD: there are no limits -=- roberto@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>