From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 13:00:18 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 92542106564A for ; Wed, 22 Sep 2010 13:00:18 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE008FC16 for ; Wed, 22 Sep 2010 13:00:17 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o8MCwIV3029808; Wed, 22 Sep 2010 07:58:18 -0500 (CDT) Date: Wed, 22 Sep 2010 07:58:18 -0500 (CDT) From: Robert Bonomi Message-ID: <201009221258.o8MCwIV3029808@mail.r-bonomi.com> To: amvandemore@gmail.com, bruce@cran.org.uk Cc: edflecko@gmail.com, 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 13:00:18 -0000 > From owner-freebsd-questions@freebsd.org Wed Sep 22 00:32:52 2010 > Date: Wed, 22 Sep 2010 06:33:20 +0100 > From: Bruce Cran > To: Adam Vande More > Cc: Ed Flecko , freebsd-questions@freebsd.org > Subject: Re: Software to SEND log files only? > > 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. *ONE* line in the sendmail config file ("smarthost"), and sendmail does the same thing.