Wrong variable name.

see #516
This commit is contained in:
Antoine Nguyen
2014-01-24 10:55:16 +01:00
parent 71ddb0837b
commit 485b2a0dd0
@@ -280,7 +280,7 @@ class LogParser(object):
return
(line_id, line_log) = m.groups()
if line_id == "NOQUEUE":
m = re.match("reject: .*from=<.*> to=<[^@]+@([^>]+)>", line_log)
addrto = re.match("reject: .*from=<.*> to=<[^@]+@([^>]+)>", line_log)
if addrto and addrto.group(1) in self.domains:
self.inc_counter(addrto.group(1), 'reject')
return