[Logcheck-users] cannot get filter right

Gavin McCullagh gmccullagh at gmail.com
Wed Mar 7 15:19:21 CET 2007


Hi,

this has been driving me nuts so I'd love a hint where I'm going wrong.  I
have fetchmail running, hitting a badly configured pop3 server.  Sadly I
can't do anything about that so I keep getting this in the logs:

Mar  7 07:59:12 brooks fetchmail[17737]: Server CommonName mismatch: localhost != mail.xxxxx.yy

and I'd _really_ like to filter it from logcheck but I can't get the filter
right.

I currently have this line in /etc/logcheck/ignore.d.server/fetchmail:

fetchmail\[[0-9]+\]: +Server CommonName mismatch: localhost != mail.xxxxx.yy

but that doesn't filter it.  I've tried various other combinations but I
can't seem to get it right.  The only thing about it that's unlike other
filters I've written is the presence of the "!=" chars.

Any suggestions?
Gavin





More information about the Logcheck-users mailing list