From owner-freebsd-questions@FreeBSD.ORG Thu Aug 18 17:03:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 716C016A41F for ; Thu, 18 Aug 2005 17:03:03 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA0343D46 for ; Thu, 18 Aug 2005 17:03:02 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 6538B5D1B; Thu, 18 Aug 2005 13:03:02 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01581-10; Thu, 18 Aug 2005 13:03:00 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-79-217.ny325.east.verizon.net [68.161.79.217]) by pi.codefab.com (Postfix) with ESMTP id 83B945C2F; Thu, 18 Aug 2005 13:03:00 -0400 (EDT) Message-ID: <4304BF47.6070301@mac.com> Date: Thu, 18 Aug 2005 13:03:03 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions References: <4304B224.5050504@mac.com> <4304B716.2020305@mac.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: Simon Morgan Subject: Re: sendmail stalling during boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 17:03:03 -0000 Simon Morgan wrote: > On 8/18/05, Chuck Swiger wrote: >>Of course. If you only want to deliver mail locally, and never consider the >>network at all, /usr/libexec/mail.local will do that for you. > > Do I need to somehow specify this as my MTA instead of sendmail or is it > already used for local mail and I just somehow disable sendmail? /usr/libexec/mail.local isn't an MTA, it's a LDA, or local delivery agent. MTAs like sendmail and postfix use the LDA to actually deliver mail which should go to a local user account (ie, in the sense of locking the mbox file in /var/mail/$USER and appending the new message, or maildir's conventions, etc). >> However, if you want to do SMTP, even SMTP on localhost via sendmail, you have >> to use FEATURE(nocanonify) to disable DNS lookups. Unless told otherwise, >> sendmail is intended to run as a fully connected SMTP box, which means it has >> to pay attention to DNS, MX records, address re-writing, alias expansions, and >> all of the rest of the stuff it does. > > Basically all I want is for any programs run on the system and mail > their results to root to be able to do so. I see. Much of those automated messages assume they are using sendmail, they generally won't call mail.local directly, unfortunately. You might find it useful to read "man mailwrapper" for more info. -- -Chuck