From owner-freebsd-questions Mon Jun 4 12:14: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id ABF1B37B406 for ; Mon, 4 Jun 2001 12:14:02 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust155.tnt2.buffalo.ny.da.uu.net [63.20.90.155]) by snipe.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA01894; Mon, 4 Jun 2001 12:13:57 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id PAA03233; Mon, 4 Jun 2001 15:13:01 -0400 (EDT) (envelope-from ipt) From: "Ian P. Thomas" Message-Id: <200106041913.PAA03233@scarlet.my.domain> Subject: Re: sendmail domain re-writting In-Reply-To: <20010604091253.A1405@dinjo.touchtunes.com> from Joel Dinel at "Jun 4, 2001 09:12:53 am" To: dinjo@touchtunes.com (Joel Dinel) Date: Mon, 4 Jun 2001 15:12:59 -0400 (EDT) Cc: freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My best friend's sister's boyfriend's brother's girlfriend heard from this guy who knows this kid who's going with a girl who heard Joel Dinel say... The file is a .mc file. I'm running 3.2 Release so your directory structure may be different. Check /usr/src/contrib/sendmail/cf/cf. There are many examples here. Use m4 ../m4/cf.m4 [.mc file here > /etc/sendmail.cf. Do a kill -HUP `head -1 sendmail.pid` in /var/run to restart sendmail after this so it rereads its rules. If you haven't heard this already, consider adding the smrsh feature for better security. Ian > Greetings, > > On freebsd-questions, you gave the following advice on masquerading with > sendmail : > > dnl What we masquerade as. > MASQUERADE_AS(`hell.gr') > dnl Make sure that *.hell.gr gets masq'd. > FEATURE(masquerade_entire_domain) > dnl Rewrite envelope addresses too. > FEATURE(masquerade_envelope) > > This is excactly what I need to do. What 'master config' file do I need > to add this to, and how do I regenerate my sendmail.cf from that file? > I'm running an unmodified sendmail on 4.3 -RELEASE. > > Thanks a lot! > > > -- > Joel Dinel > TouchTunes Digital Jukebox, Inc. > > Everything is controlled by a small evil group to which, unfortunately, > no one we know belongs. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message