Package: logcheck-database
Severity: wishlist
Tags: patch
Submitter: Robert McKenzie <vk...@internode.on.net>

----- Forwarded message from Robert McKenzie <vk...@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:]-]+$

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

_______________________________________________
Logcheck-devel mailing list
Logcheck-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to