Jiann-Ming Su,

I recently had to deal with the same issue, and it turned out to be
malformed SPAM mail that during the confirmation creation stage TMDA would
fail, after creating an entry the pending queue.  Since TMDA would fail as
far as the Mail Transfer Agent was concerned the mail had not been
delivered, so it attempts to re deliver it again (ad infinitum).

I believe that the solution you are looking for was mentioned by Andrea
Whitlock in her messages, and is the fix that I had put in place on the mail
server I use.  Check out this message thread for the fix I used:

http://mla.libertine.org/tmda-users/2004-08/msg00004.html

Dave

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jiann-Ming Su
Sent: Thursday, August 26, 2004 8:17 AM
To: [EMAIL PROTECTED]
Subject: Uncaught Python 2.2.3 Exception

I'm using FC1 with tmda 1.0.3 and python 2.2.3.  I've suddenly started
getting a bunch of the following in my ~/.tmda/logs/debug:

Uncaught Python 2.2.3 Exception (Thu Aug 26 11:11:03 2004):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/bin/tmda-rfilter", line 891, in ?
    main()
  File "/usr/bin/tmda-rfilter", line 887, in main
    do_default_action(default_action, 'action_incoming', bouncetext)
  File "/usr/bin/tmda-rfilter", line 471, in do_default_action
    bouncegen('request')
  File "/usr/bin/tmda-rfilter", line 772, in bouncegen
    send_bounce(bounce_message, mode)
  File "/usr/bin/tmda-rfilter", line 442, in send_bounce
    ar.send()
  File "/usr/lib/python2.2/site-packages/TMDA/AutoResponse.py", line
226, in send
    Util.sendmail(Util.msg_as_string(self.mimemsg, 78),
  File "/usr/lib/python2.2/site-packages/TMDA/Util.py", line 553, in
msg_as_string
    g.flatten(msg, unixfrom=unixfrom)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 103, in flatten
    self._write(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 131, in _write
    self._dispatch(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 157, in _dispatch
    meth(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 231, in _handle_multipart
    g.flatten(part, unixfrom=False)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 103, in flatten
    self._write(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 131, in _write
    self._dispatch(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 157, in _dispatch
    meth(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 298, in _handle_message
    g.flatten(msg.get_payload(0), unixfrom=False)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 103, in flatten
    self._write(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 131, in _write
    self._dispatch(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 157, in _dispatch
    meth(msg)
  File "/usr/lib/python2.2/site-packages/TMDA/pythonlib/email/Generator.py",
line 200, in _handle_text
    raise TypeError, 'string payload expected: %s' % type(payload)
TypeError: string payload expected: <type 'list'>


Where should I start looking to fix this?  Thanks for any tips.
-- 
Jiann-Ming Su
"I have to decide between two equally frightening options.  
                                            If I wanted to do that,
I'd vote." --Duckman
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to