From owner-freebsd-questions@FreeBSD.ORG Wed May 4 02:54:10 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 A912916A4CE for ; Wed, 4 May 2005 02:54:10 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8991643D53 for ; Wed, 4 May 2005 02:54:10 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) id j442rvAI015204; Tue, 3 May 2005 19:53:59 -0700 (PDT) Received: from [192.168.1.6] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) (authenticated bits=0)j442rtI3028662; Tue, 3 May 2005 19:53:57 -0700 (PDT) In-Reply-To: <20050504023621.GA78622@bigbird.logicsquad.net> References: <20050504023621.GA78622@bigbird.logicsquad.net> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <27c83e26c39090da32c6e4384aa767a9@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Tue, 3 May 2005 22:53:55 -0400 To: "Paul A. Hoadley" X-Mailer: Apple Mail (2.622) cc: freebsd-questions@freebsd.org Subject: Re: Sendmail masquerading breaks local mail delivery 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: Wed, 04 May 2005 02:54:10 -0000 On May 3, 2005, at 10:36 PM, Paul A. Hoadley wrote: > This is in bert.coremedicalsolutions.com.submit.mc: I'm not convinced it's a good idea to do MASQUERADE'ing in the submit.mc, use the normal sendmail.mc file for the MTA, not the MSA. > As a result of this, though, all the periodic mails and the output > from cron are now (I gather) having the local hostname stripped, and > being sent off to the MX-listed mailer for the wider domain at an ISP. > How do I get local mail delivered locally, while still masquerading > the domain name for non-local mail? Local delivery is handled by class w, and you can put hostnames for which local delivery will happen into a file as well, typically /etc/mail/local-host-names. -- -Chuck