Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 08:59:31 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        andy <andy@faust.moldsat.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail
Message-ID:  <Pine.SC5.4.10.9902230857130.23143-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <Pine.BSF.3.96.990222161408.2479E-100000@faust.moldsat.md>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Feb 1999, andy wrote:

[..]
> A few months ago I cvsup'ed a system of mine up to 2.2.7STABLE
> Since that moment my sendmail (8.8.8) doesnt't permit to 
> rewrite outgoing mail's "From" addresses for local users.
> I can't get rid of this host name in "from" addresses.
> (e.g. defined "From" address for my mailer is andy@moldsat.md,
> but sendmail issues mail marked as "From: andy@faust.moldsat.md")
> 
> sendmail.cf is just generic and works fine with any other system.
> 
> Is there any kind soul to enlighten me?

If you use sendmail's m4 macros to set up sendmail.cf, all you need to
do is to add:

	MASQUERADE_AS(moldsat.md)

Ain't too sure about doing by hand to sendmail.cf.
-------------------------------------------------------------------
Jonathan Chen                       |      -insert-witty-quip-here-
-------------------------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9902230857130.23143-100000>