Bug#511030: cyrus-common-2.2: Fix to logcheck rules

Cristian Rigamonti cri at linux.it
Tue Jan 6 21:03:43 UTC 2009


Package: cyrus-common-2.2
Version: 2.2.13-14
Severity: normal
Tags: patch


The current rules for the "defaultbc doesn't exist" error message (see #416826)
don't work if the path to the missing file contains dots (or dash, or
underscores).

The attached patch fixes the rules.

Cri

-------------- next part --------------
diff -u -r logcheck.orig/ignore.d.server/logcheck-cyrus2_2 logcheck/ignore.d.server/logcheck-cyrus2_2
--- logcheck.orig/ignore.d.server/logcheck-cyrus2_2	2008-08-13 03:19:25.000000000 +0200
+++ logcheck/ignore.d.server/logcheck-cyrus2_2	2009-01-06 21:41:28.000000000 +0100
@@ -52,7 +52,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/squatter\[[0-9]+\]: (done )?(indexing|skipping) mailbox
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/notifyd\[[0-9]+\]: do_notify using method
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/lmtpunix\[[0-9]+\]: IOERROR: fstating sieve script [/a-zA-Z^]+/defaultbc: No such file or directory
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/lmtpunix\[[0-9]+\]: WARNING: sieve script /var/spool/sieve/[/[:alnum:]^]+defaultbc doesn't exist: No such file or directory
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/lmtpunix\[[0-9]+\]: WARNING: sieve script /var/spool/sieve/[._/[:alnum:]^-]+defaultbc doesn't exist: No such file or directory
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/sieve\[[0-9]+\]: entered bc_action_emit with filelen: [0-9]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/(imaps?|pop3s?)\[[0-9]+\]: no secret in database$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/cyr_expire\[[0-9]+\]: expunged 0 out of 0 messages from 0 mailboxes$
diff -u -r logcheck.orig/violations.ignore.d/logcheck-cyrus2_2 logcheck/violations.ignore.d/logcheck-cyrus2_2
--- logcheck.orig/violations.ignore.d/logcheck-cyrus2_2	2008-08-13 03:19:25.000000000 +0200
+++ logcheck/violations.ignore.d/logcheck-cyrus2_2	2009-01-06 21:42:40.000000000 +0100
@@ -1,5 +1,5 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/(lmtp|lmtpunix)\[[0-9]+\]: IOERROR: fstating sieve script [/a-zA-Z^]+/defaultbc: No such file or directory$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/lmtpunix\[[0-9]+\]: WARNING: sieve script %s doesn't exist: [/a-zA-Z^]+/defaultbc: No such file or directory
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/lmtpunix\[[0-9]+\]: WARNING: sieve script %s doesn't exist: [._/a-zA-Z^-]+/defaultbc: No such file or directory
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/(imaps?|pop3s?|lmtp|lmtpunix)\[[0-9]+\]: SQUAT failed to open index file$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/(imaps?|pop3s?|lmtp|lmtpunix)\[[0-9]+\]: SQUAT failed$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cyrus/(imaps?|pop3s?|lmtp|lmtpunix)\[[0-9]+\]: DBERROR db[34]: [0-9]+ lockers$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20090106/29da7d44/attachment.pgp 


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list