# HG changeset patch # User Pascal Volk # Date 1296996456 0 # Node ID b0c05ce0f44c7cf47bc6abcb29e41132de4ec215 # Parent bcd26b807771b395a443e84ae567b6c09bd1fdd8 Adjusted NiXSapmSum.RE_PF to the new TXT RR format. diff -r bcd26b807771 -r b0c05ce0f44c nixspamsum --- a/nixspamsum Sun Apr 11 19:40:02 2010 +0000 +++ b/nixspamsum Sun Feb 06 12:47:36 2011 +0000 @@ -24,8 +24,8 @@ """Regular expression pattern for mail logs from Postfix""" RE_PF = r'''^[\w\s:-]{17,80}\spostfix\/smtpd\[[\d]{1,5}\]:\sNOQUEUE: \sreject:.*blocked\susing\six.dnsbl.manitu.net; - \sSpam\ssent\sto\sthe\smailhost\s(%s|%s) - \swas\sdetected\sby\sNiX\sSpam.*$''' % (RE_FQDN, RE_IPv4) + \sYour\se\-mail\sservice\swas\sdetected\sby\s(%s|%s) + \s\(NiX\sSpam\)\sas\sspamming\sat.*$''' % (RE_FQDN, RE_IPv4) def __init__(self): self._doms = {}