[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    [syslog-ng] Re: syslog-ng
From:       Balazs Scheidler bazsi () balabit ! hu
Date:       2000-03-25 13:53:37
[Download RAW message or body]

> 
>  Great program from what I have read so far. Just installed it. I was
> curious if there were any plans to add an option to syslog-ng.conf
> under DESTINATIONS:
> 
>     * mail <email address> - Emails specified logs to user.

you can easily achieve this using the program() destination. Write a simple
shell script:

#!/bin/sh
while read line; do
	echo $line | mail root@domain.com
done

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic