[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logcheck regexp for spamassassin



On Fri, Dec 19, 2003 at 09:34:56PM -0600, Greg Norris wrote:
> Every now and then, logcheck complains about syslog messages such as
> the one below.  Not a big problem, but it's supposed to filter out
> messages which match the associated regexp... which really should cover
> this case, as far as I can see.  Any idea why this one was missed?
> 
> ---SNIP---
> Dec 19 07:17:46 sasami spamd[23665]: processing message <200312191358.09611.meurer@bad-gmbh.de> for adric:1000. 
> ---SNIP---
> 
> ---SNIP---
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ spamd\[[0-9]+\]: processing message <.+> for \w+:[0-9]+\. $
> ---SNIP---
> 
> There really is a single space at the end of the line, btw, so it's
> not that.

Well, it *is* the space at the end of the line. Why all the fuzz. Just
place an '?' behind the space.

Mark



Reply to: