Hi Michael

At 09:04 30/08/02 -0400, Michael Leone wrote:
>I'm having trouble getting Bering 1.0-rc3 to mail me it's logs everyday.

<snip>

>                         mail -s $LOG [EMAIL PROTECTED] </var/log/$LOG.

The line I have in crontab to do (more or less) what you're doing is:

mail -s "Daily firewall log report" to [EMAIL PROTECTED] < /var/log/messages.0

So I think you're missing the "to" keyword.  The line in your script should be:

mail -s $LOG to [EMAIL PROTECTED] </var/log/$LOG.0

cheers

Julian

-- 
[EMAIL PROTECTED]
www.ljchurch.co.uk



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to