Software to SEND log files only?
bonomi at mail.r-bonomi.com
Wed Sep 22 13:00:18 UTC 2010
> From owner-freebsd-questions at freebsd.org Wed Sep 22 00:32:52 2010
> Date: Wed, 22 Sep 2010 06:33:20 +0100
> From: Bruce Cran <bruce at cran.org.uk>
> To: Adam Vande More <amvandemore at gmail.com>
> Cc: Ed Flecko <edflecko at gmail.com>, freebsd-questions at freebsd.org
> Subject: Re: Software to SEND log files only?
> On Tue, 21 Sep 2010 15:16:35 -0500
> Adam Vande More <amvandemore at 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 at 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. <grin>
More information about the freebsd-questions