"Andrea Whitlock" <[EMAIL PROTECTED]> writes:
> File "./TMDA/Util.py", line 471, in confirm_append_address
> ValueError: unpack list of wrong size
>
> I'm guessing it has to do with receiving bounced messages. That's
> the only thing I think of where the envelope sender wouldn't have an
> @ to split on.
Looks like you might have found an obscure bug. I only see it being
triggered when the incoming message has a null envelope sender (as in
the case of a bounce), AND it also contains an X-Primary-Address
header, which is just strange.
Can you apply the attached patch to your Util.py and see if that
helps? Also, if this works, allowing the message to be delivered, can
you look at the headers and verify my above assumption? Thanks.
Index: Util.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Util.py,v
retrieving revision 1.110
diff -u -r1.110 Util.py
--- Util.py 14 Oct 2003 00:02:11 -0000 1.110
+++ Util.py 8 Jan 2004 19:33:41 -0000
@@ -461,9 +461,11 @@
rp is the envelope sender address.
Compare the two addresses, and return the address appropriate for
- CONFIRM_APPEND use based on the PRIMARY_ADDRESS_MATCH setting.
+ CONFIRM_APPEND based on the PRIMARY_ADDRESS_MATCH setting.
"""
if not xp:
+ return rp
+ if '@' not in rp or '@' not in xp:
return rp
import Defaults
rpl = rp.lower()
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users