[Kroupware] pflogsumm postfix.log

Patrick M. Ammann pammann at gmx.ch
Sun Jan 4 15:40:49 CET 2004


Hi there,

Found a problem with postfix.log:
our log conatins <info> and <warning>
and then the postfix log analyser (pflogsumm)gets
confused...

workaround:
in rc.postfix i filter <info> and <warning> away

sed -e s/"<info> "// ${logfiles} | sed -e s/"<warning> "// | \
     /kolab/sbin/pflogsumm -d yesterday -h 10 -u 10 -i \
         --iso_date_time --problems_first --smtpd_stats 
--verbose_msg_detail \
         ${postfix_sum_flags} \
         >/kolab/var/postfix/log/postfix.sum 2>/dev/null
#        ${logfiles} >/kolab/var/postfix/log/postfix.sum 2>/dev/null

Greetz Patrick




More information about the Kroupware mailing list