From owner-freebsd-questions@FreeBSD.ORG Sat Jun 14 12:46:58 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 768DB37B401 for ; Sat, 14 Jun 2003 12:46:58 -0700 (PDT) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA3443F75 for ; Sat, 14 Jun 2003 12:46:57 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by pop016.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030614194656.SQTW3199.pop016.verizon.net@mac.com>; Sat, 14 Jun 2003 14:46:56 -0500 Message-ID: <3EEB7BAE.5010508@mac.com> Date: Sat, 14 Jun 2003 15:46:54 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Moran References: <3EEA6D43.3050101@potentialtech.com> In-Reply-To: <3EEA6D43.3050101@potentialtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [141.149.47.46] at Sat, 14 Jun 2003 14:46:56 -0500 cc: questions@freebsd.org 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 19:46:58 -0000 Bill Moran wrote: [ ... ] > I've tried creating a local-host-names file in /etc/mail according to > some Linux howtos I found, but it doesn't seem to be helping. Right. This change won't help solve the problem you asked about. > What's the proper way to get sendmail to use user@domain.com > instead of user@machine.domain.com? Someone else already provided references to MASQUERADE_AS(), but if you can't get that working, you can forcibly set it by uncommenting the following line in /etc/mail/sendmail.cf: # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM ...to: Djdomain.com [ Using an .mc file is the way to go if at all possible, but the above plus a "make restart" should do in a pinch. ] -- -Chuck