Mombu the GNU Linux Forum

Go Back   Mombu the GNU Linux Forum > GNU_Linux > logcheck regexp for spamassassin
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 8th November 02:40
greg norris
External User
 
Posts: 1
Default logcheck regexp for spamassassin



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.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote


 


2 8th November 17:15
bill marcum
External User
 
Posts: 1
Default logcheck regexp for spamassassin



You don't say whether the message is listed as an "event" or a "security
violation", but I'm guessing it's the latter, and the reason is that
the email address contains "bad". If I'm right, the solution is to
create a file in violations.ignore.d containing an appropriate regexp,
perhaps "@bad-"


--
No animal should ever jump on the dining room furniture unless
absolutely certain he can hold his own in conversation.
-- Fran Lebowitz


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote


 


3 9th November 09:48
greg norris
External User
 
Posts: 1
Default logcheck regexp for spamassassin


Yes, it's listed under "Possible Security Violations". Thanx for the
insight!


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
4 12th November 02:43
mark schouten
External User
 
Posts: 1
Default logcheck regexp for spamassassin


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

Mark


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
5 12th November 18:05
greg norris
External User
 
Posts: 1
Default logcheck regexp for spamassassin


No it isn't. So far, all of the messages which have slipped through
have exactly one trailing space... exactly matching the regexp.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
Reply


Thread Tools
Display Modes




666