[Mailman-Users] Help: 'str' object has no attribute 'get_sender'
Mark Sapiro
msapiro at value.net
Thu Sep 28 18:42:34 CEST 2006
aaron wrote:
>Mark: Thanks so much. I did a dumpdb on one of the shunted messages and got
>the following, which includes "{ '_parsemsg': False,". Should this give me
>a clue as to what happened?
Unfortunately, that was a misleading hint. The shunted message has been
requeued in the shunt queue by 'enqueueing' it again, so it doesn't
really reflect the original entry.
I suggest you try my corrected workaround.
--- Mailman/Queue/Switchboard.py 2006-09-28 09:17:59 -0700
+++ Mailman/Queue/Switchboard.py 2006-07-23 07:31:15 -0700
@@ -160,7 +160,7 @@
data = cPickle.load(fp)
finally:
fp.close()
- if data.get('_parsemsg'):
+ if isinstance(msg, str):
msg = email.message_from_string(msg, Message.Message)
return msg, data
which should at least get things going. Then you can run bin/unshunt to
reprocess the shunted messages.
After that, you can try briefly stopping Mailman, then sending a
message to a list or list-bounces address and then move the resulting
queue entry out of the 'in' or 'bounces' queue for analysis, and
restart Mailman.
That queue entry should have _parsemsg = True.
--
Mark Sapiro <msapiro at value.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