[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-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
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]:

Oct 22 15:47:27 smail postfix/smtp[13628]: 1761D11AE50:
to=<listname at domain.tld>, relay=[], delay=2,
status=sent (250 2.6.0 Ok, id=13537-05, from MTA: 250 Ok: queued as
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
~    more = self._dopipeline(mlist, msg, msgdata, pipeline)
~  File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
~    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_i18n_digests(mlist, mboxfp)
~  File "/var/mailman/Mailman/Handlers/ToDigest.py", line 306, in
~    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
~    fnext = os.path.splitext(msg.get_filename(''))[1]
~  File
line 725, in get_filename
~  File
line 608, in get_param
~  File
line 555, in _get_params_preserve
~  File
line 337, in decode_params
~  File
line 284, in decode_rfc2231
ValueError: unpack list of wrong size

Oct 22 15:47:27 2004 (1205) SHUNTING:

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

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

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.


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