[Logcheck-devel] Bug#265176: logcheck: rules for gps policy daemon with postfix

Jamie L. Penman-Smithson jamie at silverdream.org
Thu Aug 12 01:54:09 UTC 2004


Package: logcheck
Version: 1.2.24
Severity: minor

If you run the gps policy server with postfix, you end up with a lot of
unneeded messages:

Aug 12 01:15:18 lorien gps[27125]: disconnecting from DB
Aug 12 01:31:47 lorien gps[27264]: started (ver.: 0.7b built: Jul 14
2004 14:39:53)
Aug 12 01:31:47 lorien gps[27264]: ok:
'bounce-debian-user=devnull=silverdream.org at lists.debian.org' ->
'devnull at silverdream.org', '146.82.138.6' (1350, 1695 secs)
Aug 12 01:37:35 lorien gps[27332]: new: 'tseun at loyalistc.on.ca' ->
'brad.smith at bluemelon.net', '82.217.137.112'
Aug 12 01:46:44 lorien gps[27483]: wl nw:
'spamassassin-users-return-14314-devnull=silverdream.org at incubator.apache.org' -> 'devnull at silverdream.org', '209.237.227.': apache.org mailing lists

The following regexps match the above messages:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: disconnecting from DB$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: started \(ver.:
[a-z0-9\.]+ built: [A-Za-z]+ [0-9[:space:]]+
[0-9]{2}:[0-9]{2}:[0-9]{2}\)$

For the other three rules, this is the closest I could get. Really these
will probably need to be separate rules:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ gps\[[0-9]+\]: (ok|new|wl nw):
'[[:alnum:][:punct:]]+@[[:alnum:][:punct:]]+'.*$

Thanks,

-- 
-jamie <jamie at silverdream.org> | spamtrap: spam at silverdream.org
 w: http://www.silverdream.org | p: sms at silverdream.org
 pgp key @ http://silverdream.org/~jps/pub.key
 04:30:01 up 2 days, 13:39, 13 users,  load average: 2.10, 2.19, 2.31

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040812/cce1bdab/attachment.pgp 


More information about the Logcheck-devel mailing list