Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 06:33:20 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        Ed Flecko <edflecko@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Software to SEND log files only?
Message-ID:  <20100922063320.00007843@unknown>
In-Reply-To: <AANLkTik6BQtFxXU54EO-Dk6fUiLrsFbAf8Cox1HLDZBU@mail.gmail.com>
References:  <AANLkTi=R0ve=SuOFS8H2Dz2j3vQkS_nxOn%2BYSKid6eZm@mail.gmail.com> <AANLkTik6BQtFxXU54EO-Dk6fUiLrsFbAf8Cox1HLDZBU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Sep 2010 15:16:35 -0500
Adam Vande More <amvandemore@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100922063320.00007843>