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

List:       syslog-ng
Subject:    [syslog-ng] sendmail with syslog-ng
From:       Simon Yang simony () solect ! com
Date:       2000-03-15 19:13:20
[Download RAW message or body]

Hi folks,

I installed syslog-ng 1.3.14 under Solaris 2.6 and used the following
config file
source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
internal(); };

destination syslog { file("/var/tmp/syslog.trc");
                        program("/usr/lib/sendmail john@company.com");
};
log { source(local); destination(syslog); };

     I expect that emails should only be sent to john@company.com when
an error message occurs. With the current implementation of the
syslog-ng, only one messages is sent out containing the whole syslog.trc
that is defined in the config file  when the syslog-ng is started.
Obviously, something is wrong. Is this a feature or bug with syslog-ng
or the config file was not configured correctly.

Any help will be greatly appreciated.

[Attachment #3 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi folks,
<p>I installed syslog-ng 1.3.14 under Solaris 2.6 and used the following
config file
<br><i><font color="#3333FF">source local { sun-streams("/dev/log" \
door("/etc/.syslog_door")); internal(); };</font></i><i><font \
color="#3333FF"></font></i> <p><i><font color="#3333FF">destination syslog { \
file("/var/tmp/syslog.trc");</font></i> <br><i><font \
color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 program("/usr/lib/sendmail john@company.com"); };</font></i>
<br><i><font color="#3333FF">log { source(local); destination(syslog);
};</font></i><i><font color="#3333FF"></font></i>
<p>&nbsp;&nbsp;&nbsp;&nbsp; I expect that emails should only be sent to
john@company.com when an error message occurs. With the current implementation
of the syslog-ng, only one messages is sent out containing the whole syslog.trc
that is defined in the config file&nbsp; when the syslog-ng is started.
Obviously, something is wrong. Is this a feature or bug with syslog-ng
or the config file was not configured correctly.
<p>Any help will be greatly appreciated.</html>



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

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