[GH-ISSUE #380] Error in the stat cron #364

Closed
opened 2026-02-27 11:11:24 +03:00 by kerem · 0 comments
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/380

Originally assigned to: @tonioo on GitHub.

Originally created by kanor kanor on 2013-03-17T12:20:13Z

the cron command for stat plugin return this error

AttributeError: 'NoneType' object has no attribute 'group'
it come from file
./extensions/stats/management/commands/logparser.py
and in the method process

addrto = re.match("([^@]+)@(.+)", m.group(1))
if addrto.group(2) in self.domains:

addrto don't mactch the log row after

'to=, orig_to=, relay=none, delay=1.1,delays=0.97/0.02/0/0.07, dsn=5.1.3, status=bounced (bad address syntax)'
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/380 Originally assigned to: @tonioo on GitHub. **Originally created by kanor kanor on 2013-03-17T12:20:13Z** the cron command for stat plugin return this error AttributeError: 'NoneType' object has no attribute 'group' it come from file ./extensions/stats/management/commands/logparser.py and in the method process <pre> addrto = re.match("([^@]+)@(.+)", m.group(1)) if addrto.group(2) in self.domains: </pre> addrto don't mactch the log row after <pre> 'to=<postmaster@>, orig_to=<postmaster@[95.23.54.251]>, relay=none, delay=1.1,delays=0.97/0.02/0/0.07, dsn=5.1.3, status=bounced (bad address syntax)' </pre>
kerem 2026-02-27 11:11:24 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#364
No description provided.