 reaky
join:2004-01-18 Killeen, TX
| reply to reaky Re: Sending emails via syslog-ng
Dear SirMeowmix_III I tried the configuration like you sent as the following:
#================================================================= # Remote logging source src { pipe("/proc/kmsg"); unix-stream("/dev/log"); tcp(ip(0.0.0.0) port(514)); udp(ip(0.0.0.0) port(514)); };
destination maillog { program("/syslog_fifos/host_fifo" flush_lines(1)); }; filter f_host { match("172.31.250.68"); };
log {source(src); filter(f_host); destination(maillog); }; #==================================================================
But when I restart It gave me the following note :
WARNING: the match() filter without the use of the value() option is deprecated and hinders performance, please update your configuration; |