Adjusted NiXSapmSum.RE_PF to the new TXT RR format.
--- 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 = {}