[Logcheck-devel] Bug#532484: please incorporate qmail filters
martin f krafft
madduck at debian.org
Tue Jun 9 08:36:25 UTC 2009
Package: logcheck-database
Severity: wishlist
Tags: patch
Submitter: Robert McKenzie <vk7rb at internode.on.net>
----- Forwarded message from Robert McKenzie <vk7rb at internode.on.net> -----
Martin,
The reason for this email to send you a copy of a file that I am using
on my FreeBSD system in "ignore.d.paranoid" to limit the messages that
are pulled out as I am now using logcheck to also check my maillog file
and as you are actively working with logcheck, thought that you might
like to incorporate it for those who also use qmail.
I must admit that I this is my one attempt at "regexp" but hope that it
is not unreasonable as I have tried to make it generic enough for anyone
to use.
The first part of the lines is what I ripped from other such files but
from qmail on is the result of my experimentation and seems to do the
job.
As I expect this will be a one off, I did not bother with the mailing
list but would consider it should the need arise.
Regards,
Robert McKenzie.
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ qmail: [0-9]+\.[0-9]+ (new|end) msg [[:digit:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ qmail: [0-9]+\.[0-9]+ info msg [[:digit:]]+: [[:alpha:]]+ [[:digit:]]+ [[:alnum:]]+ <[._[:alnum:]-]+@[._[:alnum:]-]+\.+[[:alpha:]]{2,4}> [[:alpha:]]+ [[:digit:]]+ [[:alpha:]]+ [[:digit:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ qmail: [0-9]+\.[0-9]+ starting delivery [[:digit:]]+: [[:alpha:]]+ [[:digit:]]+ [[:alpha:]]+ [[:alpha:]]+ [._[:alnum:]-]+@[._[:alnum:]-]+\.+[[:alpha:]]{2,4}$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ qmail: [0-9]+\.[0-9]+ status: [[:alpha:]]+ [[:digit:]]+/[[:digit:]]+ [[:alpha:]]+ [[:digit:]]+/[[:digit:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ qmail: [0-9]+\.[0-9]+ delivery [0-9]+: [[:alpha:]]+: [_/+[:alnum:]-]+$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20090609/9e4c3e64/attachment.pgp>
More information about the Logcheck-devel
mailing list