[Mailman-Users] shunted messages + not delivering to list members

Mark Sapiro mark at msapiro.net
Thu Mar 31 02:59:14 CEST 2011

Mollatt Ntini wrote:
>I have been having a rather queer problem.  I am running several lists 
>on my list server but having a problem with only one list.
>and an extract from the error log:
>Mar 30 16:56:41 2011 (31246) SHUNTING: 
>Mar 30 17:01:08 2011 (31246) Uncaught runner exception: msg_footer
>Mar 30 17:01:08 2011 (31246) 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/OutgoingRunner.py", line 74, 
>in _dispose
>     self._func(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 132, 
>in process
>     Decorate.process(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Handlers/Decorate.py", line 70, in 
>     footer = decorate(mlist, mlist.msg_footer, 'non-digest footer', d)
>   File "/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
>     raise AttributeError, name
>AttributeError: msg_footer

The lists/LISTNAME/config.pck file for the affected list is corrupted
in some way. The stored list object in this file has no msg_footer
attribute. This is an "impossible" error unless you maybe deleted it
with bin/withlist.

Can you access the web list admin interface for this list? If you can,
try to go to the Non-digest options Section and put something in
msg_footer and Submit. If this works, you can try running bin/unshunt
to process the shunted messages. Or view the messages in qfiles/shunt
with bin/show_qfiles and rm the ones you don't want and then run
bin/unshunt. This may fix the list or get you to the next error.

If the above doesn't work, you can try

bin/withlist -l LISTNAME

and then at the python >>> prompts enter exactly

>>> m.msg_footer = ''
>>> m.Save()
>>> ^D

The last is control-D, end of file, not the two characters ^ and D.

If you can't access the list from the web admin or run bin/withlist,
you'll have to restore the lists/LISTNAME/config.pck file from the
last good backup before this started.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list