7 Jul
2008
7 Jul
'08
7:51 a.m.
Yes Joe It is what I needed! and I solved tanks to you, but at same times I need that syslog-ng sends a mail if it shutting down, but I think that not is possible that syslog-ng sends a mail during shutting-down, it is true? tanks Luigi Fegan, Joe ha scritto:
Hi Luigi,
Your question is difficult to understand, but I think you are asking how to use this script with syslog-ng. Here is an example:
#############syslog-ng.conf ...... filter f_authpriv {facility(auth, authpriv); } destination sndmailauth { program("/script/sndmailaut");}; log { source(src); filter(f_authpriv); destination(sndmailauth); }; ..... #############