[Mailman-Users] ValueError: unpack list of wrong size

Chip Mefford cmefford at eruditium.org
Fri Oct 22 22:30:30 CEST 2004


I'm stumped.

The domain.tld is not real, and listname is not the
real name.

Mailman 2.1.5 built from src on fedora core 1,
using postfix-to-mailman.py and virtual domains,
virtual users, and virtual everything.

Works really well, honestly, except this one thing
that cropped up this week.

Here is a test message to the mailling list
that handles all the big bosses internal mail.
Using mailman for this purpose to archive these
emails and to add a certain level of anti-spamming.

System has 43 lists, about 300 subscribers more or less,
and doesn't suffer much load.

- -----------------

Message-ID: <417963C7.6070207 at domain@tld>
Date: Fri, 22 Oct 2004 15:47:19 -0400
From: Chip Mefford <cmefford at domain@tld>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  listname at domain@tld
Subject: Test message, please ignore and delete
X-Enigmail-Version: 0.86.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Thank you.

- ---------------

Here is the germane part of the maillog;

- ---------------

Oct 22 15:47:27 smail postfix/qmgr[29335]: E01F811AF18:
from=<cmefford at domain.tld>, size=1310, nrcpt=1 (queue active)
Oct 22 15:47:27 smail postfix/smtpd[13631]: disconnect from
localhost[127.0.0.1]
Oct 22 15:47:27 smail amavis[13537]: (13537-05) Passed,
<cmefford at domain.tld> -> <listname at domain.tld>, Message-ID:
<417963C7.6070207 at domain.tld>, Hits: -4.901
Oct 22 15:47:27 smail amavis[13537]:
|>AMAVIS DEBUGGING SNIPPED FOR CLARITY<<


Oct 22 15:47:27 smail postfix/smtp[13628]: 1761D11AE50:
to=<listname at domain.tld>, relay=127.0.0.1[127.0.0.1], delay=2,
status=sent (250 2.6.0 Ok, id=13537-05, from MTA: 250 Ok: queued as
E01F811AF18)
Oct 22 15:47:27 smail postfix/local[13645]: E01F811AF18:
to=<listname at domain.tld>, relay=local, delay=1, status=sent
("|/var/mailman/mail/mailman post listname")

- -------------------

Here is the mailman error;

- -------------------
Oct 22 15:47:27 2004 (1205) Uncaught runner exception: unpack list of
wrong size
Oct 22 15:47:27 2004 (1205) Traceback (most recent call last):
~  File "/var/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
~    self._onefile(msg, msgdata)
~  File "/var/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
~    keepqueued = self._dispose(mlist, msg, msgdata)
~  File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
~    more = self._dopipeline(mlist, msg, msgdata, pipeline)
~  File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
_dopipeline
~    sys.modules[modname].process(mlist, msg, msgdata)
~  File "/var/mailman/Mailman/Handlers/ToDigest.py", line 91, in process
~    send_digests(mlist, mboxfp)
~  File "/var/mailman/Mailman/Handlers/ToDigest.py", line 132, in
send_digests
~    send_i18n_digests(mlist, mboxfp)
~  File "/var/mailman/Mailman/Handlers/ToDigest.py", line 306, in
send_i18n_digests
~    msg = scrubber(mlist, msg)
~  File "/var/mailman/Mailman/Handlers/Scrubber.py", line 265, in process
~    url = save_attachment(mlist, part, dir)
~  File "/var/mailman/Mailman/Handlers/Scrubber.py", line 359, in
save_attachment
~    fnext = os.path.splitext(msg.get_filename(''))[1]
~  File
"/usr/src/build/403499-i386/install/var/mailman/pythonlib/email/Message.py",
line 725, in get_filename
~  File
"/usr/src/build/403499-i386/install/var/mailman/pythonlib/email/Message.py",
line 608, in get_param
~  File
"/usr/src/build/403499-i386/install/var/mailman/pythonlib/email/Message.py",
line 555, in _get_params_preserve
~  File
"/usr/src/build/403499-i386/install/var/mailman/pythonlib/email/Utils.py",
line 337, in decode_params
~  File
"/usr/src/build/403499-i386/install/var/mailman/pythonlib/email/Utils.py",
line 284, in decode_rfc2231
ValueError: unpack list of wrong size

Oct 22 15:47:27 2004 (1205) SHUNTING:
1098474447.128068+0fd291017a5c65fe688e307bc43d6a453d177012


- ------------------------------------------

Nothing sent to this particular mailing list has gone through in a
week.

other lists seem to be working fine. Yes, there are some other shunted
messages, but I haven't diagnosed them.

But this message was very simple, no wierd mimetypes, no weird encoding,
no attachments,

I also don't understand the build path being in the error log
output for the scripts.
The path '/var/mailman/pythonlib/email/' is valid, the
path '/usr/src/build/' is not valid.

But this probably doesn't have any bearing here.

Halp!

Thanx in advance
- --chipper

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the Mailman-Users mailing list