From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 18:01:04 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 909AA106566B for ; Sun, 4 Sep 2011 18:01:04 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4248FC16 for ; Sun, 4 Sep 2011 18:01:03 +0000 (UTC) Received: from WildRover.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id MAA04495 for ; Sun, 4 Sep 2011 12:01:01 -0600 (MDT) Message-Id: <201109041801.MAA04495@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 04 Sep 2011 12:01:03 -0600 To: questions@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Cutting sendmail out of the loop 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: Sun, 04 Sep 2011 18:01:04 -0000 I'm creating some small FreeBSD servers that shouldn't be able to send mail to, or receive mail from, the outside world. I was originally just going to set sendmail_enable="NONE" in /etc/rc.conf and turn off the mailing of output from various utilities (e.g. cron), but alas there seem to be a few programs I may need to run that insist upon sending mail. So, I'd like to see if I can set up local delivery of mail without invoking the memory- and cpu-hungry program that is sendmail. I'm therefore wondering what would happen if I just put /usr/libexec.mail.local in as "sendmail" and "send-mail" in mailer.conf and leaving out the rest of the entries. Does anyone on the list have experience with doing this or something similar? Sendmail has a lot of command line options that mail.local does not, but they seem to be rarely invoked by programs that do things such as mail output to a local user. --Brett Glass