26 Aug
2006
26 Aug
'06
11:42
Per Jessen wrote:
Anders Norrbring wrote:
syslog-ng.conf:
filter f_mailscan { level(scan) and facility(mail); };
destination mailscan { file("/var/log/mail.scan"); }; log { source(src); filter(f_mailscan); destination(mailscan); };
amavis.conf:
$log_level = 6; $LOGFILE = undef; $DO_SYSLOG = 1; $SYSLOG_LEVEL = 'mail.scan';
There is no defined syslog level 'scan'.
/Per Jessen, Zürich
I believe that you also need to edit, not syslog-ng.conf, but syslog-ng.conf.in and afterwards run SuSEconfig.