[Mailman-Users] Error I cant understand, probably related to listnames in accept_these_nonmembers, error "ValueError: need more than 1 value to unpack"

Svante Tidholm svante at tidholm.se
Mon Oct 5 09:58:04 CEST 2009


Hi all,
I have a problem with my lists that I cant understand.
I'm running mailman version 2.1.11 on a debian lenny xen-server.

I have 12 lists on a server, of which one is a umbrella list for the  
other ones.
But since I want all members of all lists to be able to post to the  
other lists, I've added the listnames of the other lists as  
"@listname" in accept_these_nonmembers.

Some days ago I was stupid and added ALL listnames (with an @ before)  
to accept_these_nonmembers for all lists, which caused an error:
"Oct 01 18:16:26 2009 (1413) *_these_nonmembers in listname references  
own list"

This I have corrected, but I still can't get mail to pass through.  
mail.log shows:

Oct  4 09:58:01 burk postfix/local[8620]: 8AF5A89F9C6: to=<test at hostname.se 
 >, relay=local, delay=0.45, delays=0.16/0.05/0/0.24, dsn=2.0.0,  
status=sent (delivered to command: /var/lib/mailman/mail/mailman post  
test)

there it ends.

The output of mailman/error.log is:

Oct 04 08:44:58 2009 (5310) SHUNTING:  
1254638696.3051779+93732af84a7f7b0bb7b3d050ab6168748b9d6715
Oct 04 09:58:05 2009 (8604) Uncaught runner exception: need more than  
1 value to unpack
Oct 04 09:58:05 2009 (8604) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
   self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
   keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in  
_dispose
   more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in  
_dopipeline
   sys.modules[modname].process(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Handlers/CalcRecips.py", line 100, in  
process
   recips = do_include(mlist, msg, msgdata, recips)
File "/usr/lib/mailman/Mailman/Handlers/CalcRecips.py", line 203, in  
do_include
   listlhs, hostname = listname.split('@')
ValueError: need more than 1 value to unpack

Oct 04 09:58:05 2009 (8604) SHUNTING:  
1254643081.945178+4d955651efa6062a6af41dbbb9c9d39af812ff96

And an output of sudo ls -lR /var/lib/mailman/qfiles/
/var/lib/mailman/qfiles/:
total 4
drwxrws--- 2 list list    6 Sep 30 09:19 archive
drwxrws--- 2 list list    6 Oct  2 13:10 bounces
drwxrws--- 2 list list    6 Oct  3 09:45 commands
drwxrws--- 2 list list    6 Oct  4 09:58 in
drwxrws--- 2 list list    6 Sep  8 23:43 news
drwxrws--- 2 list list    6 Oct  4 08:59 out
drwxrws--- 2 list list    6 Sep  8 23:43 retry
drwxrws--- 2 list list 4096 Oct  4 09:58 shunt
drwxrws--- 2 root list    6 Oct  4 08:59 virgin

/var/lib/mailman/qfiles/archive:
total 0

/var/lib/mailman/qfiles/bounces:
total 0

/var/lib/mailman/qfiles/commands:
total 0

/var/lib/mailman/qfiles/in:
total 0

/var/lib/mailman/qfiles/news:
total 0

/var/lib/mailman/qfiles/out:
total 0

/var/lib/mailman/qfiles/retry:
total 0

/var/lib/mailman/qfiles/shunt:
total 2792
-rw-rw---- 1 list list  830102 Oct  4 00:53  
1254302102.7639999+86ea59de3840234df107fdb5d8897ac5d1a2645b.pck
-rw-rw---- 1 list list  169071 Oct  4 00:53  
1254308639.74+c4c87cf0ea000a0bf446788a36be04220bfb7e63.pck
-rw-rw---- 1 list list  139193 Oct  4 00:53  
1254342341.352+be82feb79d81bdf22f2bec33bea6fce6e3e1f303.pck
-rw-rw---- 1 list list    7335 Oct  4 00:53  
1254343329.312+13df2b6dac840a9d43db5dfab9e8170c732b0467.pck
-rw-rw---- 1 list list    3230 Oct  4 00:53  
1254344956.868+3bb0ab80ce7615328ee09a3181a5888a90418ba8.pck
-rw-rw---- 1 list list  473549 Oct  4 00:53  
1254396140.704+8e5b656148d80bec4d6a7c50f0151b132ddb4137.pck
-rw-rw---- 1 list list   22928 Oct  4 00:53  
1254402346.7639999+4251040696ef8d1d904a45ad58629d082e3af73f.pck
-rw-rw---- 1 list list    3443 Oct  4 00:53  
1254420722.664+45ec161fc97bb2acb688916e329bd18edab19b98.pck
-rw-rw---- 1 list list    5002 Oct  4 00:53  
1254429835.7920001+c3e3d4025c4a52ea4d8299258eb58048f5b9c5a1.pck
-rw-rw---- 1 list list    6708 Oct  4 00:53  
1254431276.164+52ed03ca8345ba0d89cca215c45f7a4dceea3194.pck
-rw-rw---- 1 list list   36396 Oct  4 00:53  
1254473620.632+9856cbe53a9b0206cffc47831567f377d0097a26.pck
-rw-rw---- 1 list list 1075194 Oct  4 00:53  
1254475131.152+decdb50e33ae90f6cae7bc6c9fc7865339daa24f.pck
-rw-rw---- 1 list list    5392 Oct  4 00:53  
1254483690.9560001+70e2e170e6f57a1377111ac0c0a7912525b78b3f.pck
-rw-rw---- 1 list list    5392 Oct  4 00:53  
1254483690.9879999+024ecbbce6c61f03292aba7bf52d3d290670147d.pck
-rw-rw---- 1 list list    3163 Oct  4 00:53  
1254499823.684+e2c790a2358ef9acc62fe4fad7347d7cf2ef2c1f.pck
-rw-rw---- 1 list list    3206 Oct  4 00:53  
1254499880.1159999+a9d00a053f8749fd08547e55a8a9ef8cf7e71e07.pck
-rw-rw---- 1 list list    4295 Oct  4 00:53  
1254564768.6559999+2f0b923e610688c78be837ca6d8f52dcfa6853ad.pck
-rw-rw---- 1 list list    3230 Oct  4 00:53  
1254592000.4820199+15531823458090911fef946b66d5822ae8541897.pck
-rw-rw---- 1 list list    1727 Oct  4 00:53  
1254608293.9251781+21192bf0e32f48e31840b9bede3f60eeeea172b4.pck
-rw-rw---- 1 list list    2458 Oct  4 08:21  
1254609564.0331781+cc90d61e41783565fa3546614f91cfffebaec359.pck
-rw-rw---- 1 list list    3272 Oct  4 00:53  
1254609657.597178+6b2a8d197c52c7bbf1a9895681aa52adcad8b295.pck
-rw-rw---- 1 list list    2454 Oct  4 08:21  
1254610930.5020199+572e39e7aa857c7ab043716f73109e30401ea100.pck
-rw-rw---- 1 list list    1776 Oct  4 01:06  
1254611161.0451779+dc75121c9b7852ddb15075addbeeb5b60b551b33.pck
-rw-rw---- 1 list list    1726 Oct  4 01:11  
1254611468.301178+a0c423d836690f223ffa7d92b600843140bba688.pck
-rw-rw---- 1 list list    1726 Oct  4 08:44  
1254638696.3051779+93732af84a7f7b0bb7b3d050ab6168748b9d6715.pck
-rw-rw---- 1 list list    1773 Oct  4 09:58  
1254643081.945178+4d955651efa6062a6af41dbbb9c9d39af812ff96.pck

/var/lib/mailman/qfiles/virgin:
total 0

I tried to create a new list with just me in it, and it worked fine,  
which makes me even more baffled. Bounces come through correct too,  
and other mail so postfix is working as it should.

I've compared the outputs of sudo /var/lib/mailman/bin/config_list -o  
- data  | grep -v "^#" | grep -v "^$"
And the differencies cant be the factor that causes this. Test is the  
list that is working. The one named Data is not.

--- test.config
+++ data.config
@@ -1,9 +1,10 @@
-real_name = 'Test'
+real_name = 'Data'
owner = ['email at email.se']
moderator = []
-subject_prefix = '[Test] '
+subject_prefix = '[Data] '
anonymous_list = False
first_strip_reply_to = False
reply_goes_to_list = 0
@@ -38,7 +39,7 @@
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s"""
scrub_nondigest = False
regular_exclude_lists = []
-regular_include_lists = []
+regular_include_lists = ['']
digestable = True
digest_is_default = False
mime_is_default_digest = False
@@ -50,12 +51,12 @@
%(real_name)s@%(host_name)s
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s"""
digest_volume_frequency = 1
-advertised = True
-subscribe_policy = 1
+advertised = 1
+subscribe_policy = 3
unsubscribe_policy = 0
ban_list = []
private_roster = 1
-obscure_addresses = True
+obscure_addresses = 1
default_member_moderation = 0
member_moderation_action = 0
member_moderation_notice = ''
@@ -84,7 +85,7 @@
bounce_notify_owner_on_disable = True
bounce_notify_owner_on_removal = True
archive = True
-archive_private = 0
+archive_private = 1
archive_volume_frequency = 1
nntp_host = ''
linked_newsgroup = ''
@@ -118,4 +119,4 @@
filter_action = 0
topics_enabled = 0
topics_bodylines_limit = 5
-topics = []
+topics = []
\ No newline at end of file

Can someone helpt me to fix this? Im guessing old mail with references  
to their own listnames in accept_these_nonmembers is still blocking  
the mailque, but I can't see them in qfiles, so I dont know whats  
wrong...

I guess an option would be to recreate all lists, and move users from  
old lists to the new ones to see if that works... But that sounds like  
a lot of work.

All help appreciated!!

Svante



More information about the Mailman-Users mailing list