[Bug 1310122] [NEW] 2.1.18rc1 error issue w/ DMARC changes

Dave Pascoe km3t at km3t.org
Sun Apr 20 00:45:20 CEST 2014

Public bug reported:

Seeing this in my error log as a result of the new DMARC filtering:

Apr 19 17:37:48 2014 (2527) SHUNTING: 1397943462.7369959+603479c2403e60476d6a84b84387374956d5123e
Apr 19 17:52:19 2014 (2527) Uncaught runner exception: 'module' object has no attribute 'defaultdict'
Apr 19 17:52:19 2014 (2527) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/Moderate.py", line 57, in process
    if Utils.IsDMARCProhibited(addr):
  File "/usr/local/mailman/Mailman/Utils.py", line 1099, in IsDMARCProhibited
    results_by_name = collections.defaultdict(list)
AttributeError: 'module' object has no attribute 'defaultdict'

Python is complaining about collections having no defaultdict attribute

This is on CentOS release 5.10 (Final) which has Python 2.4.3

** Affects: mailman
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  2.1.18rc1 error issue w/ DMARC changes

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list