Adjusted NiXSapmSum.RE_PF to count also `reject_warning's.
--- a/nixspamsum Tue Feb 08 14:23:34 2011 +0000
+++ b/nixspamsum Wed Oct 15 22:09:13 2014 +0000
@@ -23,7 +23,7 @@
RE_IPv4 = '(?:[\d]{1,3}\.){3}[\d]{1,3}'
"""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;
+ \sreject(?:_warning)?:.*blocked\susing\six.dnsbl.manitu.net;
\sYour\se\-mail\sservice\swas\sdetected\sby\s(%s|%s)
\s\(NiX\sSpam\)\sas\sspamming\sat.*$''' % (RE_FQDN, RE_IPv4)