Adjusted NiXSapmSum.RE_PF to the new TXT RR format.
authorPascal Volk <user@localhost.localdomain.org>
Sun, 06 Feb 2011 12:47:36 +0000
changeset 13 b0c05ce0f44c
parent 12 bcd26b807771
child 14 1fc9b5ed89be
Adjusted NiXSapmSum.RE_PF to the new TXT RR format.
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 = {}