Re: KeyError: 'confirm_accept_text'

"Ken Schweigert" <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On 4/16/07, Jason <[email protected]> wrote:
>
> I'm running TMDA 1.1.11, Python 2.4.4, procmail 3.22 and Postfix 2.4.0 and
> recently noticed that TMDA doesn't seem to be working any more.  When mail
> is sent to one of the filtered addresses it lands in the tmda-pending
> queue, but no confirmation e-mail is sent.  It used to work perfectly but
> I don't know when it started since I only process a couple of messages a
> day in TMDA and I delete 99.9% of them.  I also started seeing errors in
> my TMDA debug log.  SFTWing wasn't any help.  Ideas?  Here's the text of
> the most recent debug error:
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Uncaught Python 2.4.4 Exception (Mon Apr 16 12:43:39 2007):
> -----------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/local/bin/tmda-filter", line 53, in ?
>      execfile(os.path.join(execdir, 'tmda-rfilter'))
>    File "/usr/local/bin/tmda-rfilter", line 878, in ?
>      main()
>    File "/usr/local/bin/tmda-rfilter", line 811, in main
>      verify_confirm_cookie(cookie_value, 'accept')
>    File "/usr/local/bin/tmda-rfilter", line 554, in verify_confirm_cookie
>      bouncegen('accept', template='confirm_accept.txt')
>    File "/usr/local/bin/tmda-rfilter", line 755, in bouncegen
>      bounce_message = Util.maketext(templatefile, vars())
>    File "/usr/local/lib/python2.4/site-packages/TMDA/Util.py", line 931, in
> maket
> ext
>      text = template % localdict
> KeyError: 'confirm_accept_text'
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>

Jason:

I've been getting a similar error as the one in your post.  Did you
ever find a fix for it?  I've been stuck at TMDA-1.0.3 because of this
error.  1.0.3 is the only version I can get to work.  Here is my
similar error:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Uncaught Python 2.4.1 Exception (Wed Apr 25 14:18:24 2007):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/tmda/bin/tmda-rfilter", line 878, in ?
    main()
  File "/usr/local/tmda/bin/tmda-rfilter", line 811, in main
    verify_confirm_cookie(cookie_value, 'accept')
  File "/usr/local/tmda/bin/tmda-rfilter", line 554, in verify_confirm_cookie
    bouncegen('accept', template='confirm_accept.txt')
  File "/usr/local/tmda/bin/tmda-rfilter", line 755, in bouncegen
    bounce_message = Util.maketext(templatefile, vars())
  File "./TMDA/Util.py", line 931, in maketext
KeyError: 'confirm_accept_text'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

My environment is netqmail-1.05 on Debian Sarge with Python 2.4.1
installed based on the Shupp Toaster instructions.  Each time I try to
install TMDA I install it in to it's own directory and then create a
symlink; this should keep me from using old files.

If anyone has any guidance on how to move past this error I would
really love to be using a current version.

Thanks!
-ken
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.