[ mailman-Bugs-585833 ] Forward posts held for approval
Bugs item #585833, was opened at 2002-07-24 06:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=585833&group_id=103
Category: mail delivery Group: 2.1 beta Status: Open Resolution: Fixed Priority: 5 Submitted By: Ousmane Wilane (wilane) Assigned to: Nobody/Anonymous (nobody) Summary: Forward posts held for approval
Initial Comment: FWIW I'm using the current cvs. When I forward a mail which was held for approval to my email address (oversized mail in this case) I get the provided traceback in my logs and the mail in shunt q:
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-07-26 09:52
Message: Logged In: YES user_id=12800
It was a bogus pickle, probably created during the transition of the email package. The fix is simple:
x = msg.get_payload() msg.set_payload([x])
I've attached a fixed message pickle below, substitute that for your .pck and see if that works for you.
Comment By: Ousmane Wilane (wilane) Date: 2002-07-26 08:15
Message: Logged In: YES user_id=47556
The .pck and .db are attached.
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-07-25 23:33
Message: Logged In: YES user_id=12800
I'm re-opening this bug report. Can you upload the .pck and .db files for the message that won't unshunt?
Comment By: Ousmane Wilane (wilane) Date: 2002-07-24 13:26
Message: Logged In: YES user_id=47556
I swear I did restart it :):) More seriously I stop postfix, apache, mailman before upgrading as outlined in the UPGRADING file ... :) I also did verify that ListAdmin.py 2.39 was checked out
This time I'll paste the traceback here (it's thrown in logs/error when I try to unshunt the messages):
Jul 24 17:17:25 2002 (30049) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in __oneloop self.__onefile(msg, msgdata) File "/usr/local/mailman/Mailman/Queue/Runner.py", line 154, in __onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 61, in _dispose self._func(mlist, msg, msgdata) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 134, in process deliveryfunc(mlist, msg, msgdata, envsender, refused, conn) File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 307, in bulkdeliver msgtext = msg.as_string() File "/usr/local/mailman/pythonlib/email/Message.py", line 99, in as_string g.flatten(self, unixfrom=unixfrom) File "/usr/local/mailman/pythonlib/email/Generator.py", line 81, in flatten self._write(msg) File "/usr/local/mailman/pythonlib/email/Generator.py", line 109, in _write self._dispatch(msg) File "/usr/local/mailman/pythonlib/email/Generator.py", line 141, in _dispatch meth(msg) File "/usr/local/mailman/pythonlib/email/Generator.py", line 283, in _handle_message g.flatten(msg.get_payload(0), unixfrom=0) File "/usr/local/mailman/pythonlib/email/Message.py", line 167, in get_payload raise TypeError, i TypeError: 0
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-07-24 11:46
Message: Logged In: YES user_id=12800
Be sure you "mailmanctl restart" :)
Comment By: Ousmane Wilane (wilane) Date: 2002-07-24 11:26
Message: Logged In: YES user_id=47556
Oops! After cvs -q up -P -d, The bug stood there with the same traceback. Maybe I'm doing something wrong but don't know what ... :)
Comment By: Barry A. Warsaw (bwarsaw) Date: 2002-07-24 10:04
Message: Logged In: YES user_id=12800
Fixed.
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=585833&group_id=103
participants (1)
-
noreply@sourceforge.net