From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 18:22:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 872DE37B401 for ; Fri, 13 Jun 2003 18:22:38 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-217.pit.adelphia.net [24.53.161.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6C9B43FB1 for ; Fri, 13 Jun 2003 18:22:37 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h5E1MbOg003226 for ; Fri, 13 Jun 2003 21:22:37 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EEA78DD.4010106@potentialtech.com> Date: Fri, 13 Jun 2003 21:22:37 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <3EEA6D43.3050101@potentialtech.com> <20030614005328.GA27382@grimoire.chen.org.nz> In-Reply-To: <20030614005328.GA27382@grimoire.chen.org.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How do I change the envelope from address in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 01:22:38 -0000 [sorry Jon, I'm trying to do 5 things at once and forgot to CC the list] Jonathan Chen wrote: > On Fri, Jun 13, 2003 at 08:33:07PM -0400, Bill Moran wrote: > > [...] > >>howtos I found, but it doesn't seem to be helping. What's the proper way to >>get sendmail to use user@domain.com instead of user@machine.domain.com? > > > You have to add the following into your /etc/mail/`hostname`.mc file. > > MASQUERADE_AS(domain.com) > FEATURE(`masquerade_envelope') Thanks, but this hasn't helped. Any suggestions on what I could be doing wrong? I added the two lines above to my .mc file and did a 'make; make restart' in the /etc/mail directory. The results are the same. My .mc file is stock otherwise except I've defined a SMART_HOST. Any ideas? -- Bill Moran Potential Technologies http://www.potentialtech.com