From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:08:07 2005 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 48C6E16A4D5 for ; Sun, 6 Feb 2005 17:08:07 +0000 (GMT) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9794C43D1F for ; Sun, 6 Feb 2005 17:08:06 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.1/8.13.1) with ESMTP id j16H7wtU088142; Sun, 6 Feb 2005 10:07:58 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.1/8.13.1/Submit) with ESMTP id j16H7v7Y087666; Sun, 6 Feb 2005 10:07:58 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 6 Feb 2005 10:07:57 -0700 (MST) From: Warren Block To: Ian Moore In-Reply-To: <200502062037.02494.no-spam@swiftdsl.com.au> Message-ID: <20050206100326.A81527@wonkity.com> References: <200502062037.02494.no-spam@swiftdsl.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Sun, 06 Feb 2005 10:07:58 -0700 (MST) cc: freebsd-questions@freebsd.org Subject: Re: Sendmail masquerading configuration 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: Sun, 06 Feb 2005 17:08:07 -0000 On Sun, 6 Feb 2005, Ian Moore wrote: > I want to make sendmail (on a 5.3-Release server) leave the host name out of > the sender address when sending mail from that machine. > I.E. mail from root currently has a sender address of root@myhost.foo.bar, I > want it to be root@foo.bar instead. [snip] > I think that the masquerading settings have changed somewhat since I last did > this. I read http://www.sendmail.org/m4/masquerading.html, it suggests > MASQUERADE_AS(`host.domain') but when I tried that, it didn't work. Adding MASQUERADE_DOMAIN(`myhost.foo.bar') to your .mc may be helpful. -Warren Block * Rapid City, South Dakota USA