From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 21:02:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5BD2106566C for ; Sun, 4 Sep 2011 21:02:07 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 46D468FC1B for ; Sun, 4 Sep 2011 21:02:06 +0000 (UTC) Received: by ewy1 with SMTP id 1so2481914ewy.13 for ; Sun, 04 Sep 2011 14:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vBpJA8ZRakh7FguIpGyYuFWgLmIpG55yIH5MGG30SmM=; b=FBAgHWtogeDRWepu3+ZaPycwzOBEIBcs8xYedJZVuHr/fW/EclAOhP5wgvZ0orThUB ZaCCNW+0j8yXaaRrTPVm7fG2zaBL36gHLz5j6YYBihURKP4yoGVXpyrUlPlYDwpkkvLy dsTTKmMwa6AcjtSDynt71Qf4HOrxWAeRVgAs0= Received: by 10.213.17.210 with SMTP id t18mr540142eba.0.1315168544386; Sun, 04 Sep 2011 13:35:44 -0700 (PDT) Received: from [192.168.1.12] (5ED0E470.cm-7-1d.dynamic.ziggo.nl [94.208.228.112]) by mx.google.com with ESMTPS id u14sm6962451eeh.1.2011.09.04.13.35.42 (version=SSLv3 cipher=OTHER); Sun, 04 Sep 2011 13:35:43 -0700 (PDT) Message-ID: <4E63E11C.4040408@gmail.com> Date: Sun, 04 Sep 2011 22:35:40 +0200 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: Brett Glass References: <201109041801.MAA04495@lariat.net> In-Reply-To: <201109041801.MAA04495@lariat.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 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 21:02:07 -0000 Brett Glass schreef: > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Maybe ssmtp is something you can use. It is in ports, it does get mail out of the system. I use it on all of my servers so i can receive the cron mails and so on. Personaly i think sendmail should be replaced by such small mailer. Also Dragonfly has removed Sendmail for there own small and clean mailer called DMA. DMA - DragonFly Mail Agent Gr Johan Hendriks Double L