From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 05:33:25 2010 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 E6ABF1065695 for ; Wed, 22 Sep 2010 05:33:25 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2F88FC24 for ; Wed, 22 Sep 2010 05:33:25 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.1]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100922053324.XZIR3192.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Wed, 22 Sep 2010 06:33:24 +0100 Received: from [86.31.87.130] (helo=unknown) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1OyHxL-0004gP-Un; Wed, 22 Sep 2010 06:33:24 +0100 Date: Wed, 22 Sep 2010 06:33:20 +0100 From: Bruce Cran To: Adam Vande More Message-ID: <20100922063320.00007843@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=DhNl2YeytwJssBBGe49HJX82LNDFEEVkpVB34RXKaPo= c=1 sm=0 a=7kACk6pTI4QA:10 a=kj9zAlcOel0A:10 a=pGLkceISAAAA:8 a=A1X0JdhQAAAA:8 a=SXzRytNbXz0k9LaD7uUA:9 a=Jcn9sg36upLeY7zgSpT3LPUE6aQA:4 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=Y6qChIQXU1wA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Ed Flecko , freebsd-questions@freebsd.org Subject: Re: Software to SEND log files 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: Wed, 22 Sep 2010 05:33:26 -0000 On Tue, 21 Sep 2010 15:16:35 -0500 Adam Vande More wrote: > That's pretty silly article if you ask me, sendmail is setup to that > by default. > > just add something like this to cron: > > uuencode /path/to/logfile logfile | mail -s "logfile" > youremail@example.com Most mail servers will block sendmail's connections from a dynamic IP: the advantage to ssmtp is that it forwards mail to the ISP's server. -- Bruce Cran