Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 1999 02:25:44 -0600
From:      "Damon M. Conway" <damon@chiba.3jane.net>
To:        Marc Wandschneider <MarcW@Lanfear.com>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sendmail and freebsd.mc 
Message-ID:  <199911250825.CAA03830@chiba.3jane.net>
In-Reply-To: <13D5F9EDFD72D211BC3100105A1C2233054A60@AKIRA> 
References:  <13D5F9EDFD72D211BC3100105A1C2233054A60@AKIRA>

next in thread | previous in thread | raw e-mail | index | archive | help
 Marc Wandschneider wrote:
>
>
>blaugh!
>
>	so, i've got sendmail 8.9.3 all set up on my FreeBSD server
>(with the default freebsd.mc from 3.3 RELEASE), and everything seems to
>be working great, but i did something of questionable legality, so i was
>hoping somebody here could tell me whether what i did was okay.
>
>	i want the sender address of ALL mail in my organization of the
>form:
>
>	bob@host.domain.com
>
>	to become
>
>	bob@domain.com
>
>	so, while the clients just forward the mail on to the server, i
>went in to the server's sendmail.cf file, and replaced all $j on the RHS
>with $m.  (they were all in rules 3, 96, and 94).
>
>	Now, it SEEMS to work all fine and dandy, but i'd like somebody
>to tell me if there's a better way of doing this, or if this is okay.
>

http://www.sendmail.org/m4/masquerading.html

for any sendmail config option there should be a m4 rule.  personally, i
never edit my .cf by hand.  it'll get screwed up with tabs or spaces or
something silly like that.

damon


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?199911250825.CAA03830>