From owner-freebsd-questions@FreeBSD.ORG Thu Aug 30 22:17:11 2007 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 7D83816A417 for ; Thu, 30 Aug 2007 22:17:11 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 64A4C13C457 for ; Thu, 30 Aug 2007 22:17:11 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out4.apple.com (Postfix) with ESMTP id 45C32104004D; Thu, 30 Aug 2007 15:17:11 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id 28E0328051; Thu, 30 Aug 2007 15:17:11 -0700 (PDT) X-AuditID: 11807130-a619fbb000006012-76-46d741e7a670 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Symantec Mail Security) with ESMTP id 0E1172804E; Thu, 30 Aug 2007 15:17:11 -0700 (PDT) In-Reply-To: <558468.64887.qm@web58114.mail.re3.yahoo.com> References: <558468.64887.qm@web58114.mail.re3.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Thu, 30 Aug 2007 15:17:10 -0700 To: L Goodwin X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Configuring FreeBSD 6.2 to use sendmail for sending only 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, 30 Aug 2007 22:17:11 -0000 On Aug 30, 2007, at 3:12 PM, L Goodwin wrote: > I wrote a shell script that backs up the file server. > I would like to modify this script to email a > notification message to a public email address. Use cron, which will automatically email out the results of your script to any email address you like. > Seems like sendmail should do the job nicely, but I've never set it > up before. > > What specific steps (including network-specific) need > to be performed to get sendmail working for outgoing > mail only in a secure manner? Please see the fine Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html Although, it is entirely reasonable to consider using Postfix instead. -- -Chuck