Mailman: users can't post to a moderated list

Boris Kochergin spawk at acm.poly.edu
Fri Sep 18 17:19:49 UTC 2009


Replying to myself: this appears to have been causing by putting 
"OLD_MESSAGES_AS_PICKLES = 0" into 
/usr/local/bin/mailman/Mailman/Defaults.py (which used to work).

-Boris

Boris Kochergin wrote:
> Hi. I'm running mailman-with-htdig-2.1.12 and messages that would 
> normally await moderation (for example, a non-subscribed user posting 
> to a list) disappear into a black hole, and this message appears in 
> logs/errror:
>
> Sep 01 13:24:55 2009 (62072) Uncaught runner exception: Generator 
> instance has no __call__ method
> Sep 01 13:24:55 2009 (62072) Traceback (most recent call last):
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, 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 112, in 
> process
>    Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost)
>  File "/usr/local/mailman/Mailman/Handlers/Hold.py", line 224, in 
> hold_for_approval
>    id = mlist.HoldMessage(msg, reason, msgdata)
>  File "/usr/local/mailman/Mailman/ListAdmin.py", line 205, in HoldMessage
>    g(msg, 1)
> AttributeError: Generator instance has no __call__ method
>
> Sep 01 13:24:55 2009 (62072) SHUNTING: 
> 1251825895.061239+d6bb4ec54c0a21a08ae544605b3090f38ebf0f51
>
> The only reference to the problem I can find is at 
> http://mail.python.org/pipermail/mailman-users/2009-April/065735.html,  
> but there isn't much information there. Anyone know what's up?
>
> -Boris
>


More information about the freebsd-ports mailing list