From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 17:53:34 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 54EB537B401 for ; Fri, 13 Jun 2003 17:53:34 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BDB643F93 for ; Fri, 13 Jun 2003 17:53:33 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h5E0rSvu027458; Sat, 14 Jun 2003 12:53:29 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h5E0rSMB027457; Sat, 14 Jun 2003 12:53:28 +1200 (NZST) Date: Sat, 14 Jun 2003 12:53:28 +1200 From: Jonathan Chen To: Bill Moran Message-ID: <20030614005328.GA27382@grimoire.chen.org.nz> References: <3EEA6D43.3050101@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EEA6D43.3050101@potentialtech.com> User-Agent: Mutt/1.4.1i 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 00:53:34 -0000 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') Cheers. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III