[Logcheck-devel] Bug#305350: logcheck-database: postfix file could be shortened

Jamie L. Penman-Smithson jamie at silverdream.org
Tue Apr 19 17:31:59 UTC 2005


package logcheck-database
tags 305350 pending
thanks

On Tue, 2005-04-19 at 10:54 -0400, Stephen Gran wrote:
> Consider:
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: TLS connection established (to|from) [^[:space:]]+: (TLSv1|SSLv[23]) with cipher [^[:space:]]+ \([/0-9]+ bits\)$
<snip>
> Could be:
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd?\[[0-9]+\]: TLS connection established (to|from) [^[:space:]]+: (TLSv1|SSLv[23]) with cipher [^[:space:]]+ \([/0-9]+ bits\)$
<snip>
> There are also several instances of (smtp|smtpd) that could be shortened
> to smtpd? as well.  Sorry to be pedantic - I was just reviewing local
> logcheck rules and trying to match against yours when I noticed these
> things, so I thought I'd pass it on.  ISTM that it is both more
> efficient and more readable.

I've modified the rules in CVS, there were some in
violations.ignore.d/logcheck-postfix that I've cleaned up as well.

Thanks for your bug report,

-- 
-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
 21:30:02 up 17 min,  2 users,  load average: 2.65, 2.52, 1.58

-------------- 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/20050419/44c759df/attachment.pgp 


More information about the Logcheck-devel mailing list