Bug#302220: postfix_mailstats: overzealous regex for rejects

2005-03-31 Thread Jimmy Olsen
Hi Chad, Once upon a time, Chad Walstrom <[EMAIL PROTECTED]> sagely scribed: > > If you will note by the following log entries, postfix rejects messages > from different applications with different message formats. The first > listed is from the cleanup daemon rejecting a message based on > mime

Bug#302220: postfix_mailstats: overzealous regex for rejects

2005-03-30 Thread Chad Walstrom
Package: munin-node Version: 1.2.2-3 Severity: normal The postfix_mailstats plugin uses a coarse perl regex to attempt to match reject codes in the mail log. 231 } 232 elsif ($line =~ /reject: \S+ \S+ \S+ (\S+)/) 233 { 234 $rejects->{$1} ++; If