On Tue, Sep 21, 2010 at 2:56 PM, Ed Flecko <[email protected]> wrote:

> According to the FreeBSD website
> (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest
> way to send mail only is to install the mail/ssmtp port.
>
> Does anyone have an example of a script or other method (maybe a cron
> script?) that would e-mail my log files to me daily?
>

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" [email protected]

-- 
Adam Vande More
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to