[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tmda-users
Subject:    Internal Server Error with tmda-cgi 0.13, confirm-request.url
From:       Zeno Davatz <zdavatz () gmail ! com>
Date:       2004-12-16 10:32:32
Message-ID: 40a4ed59041216023218a432cf () mail ! gmail ! com
[Download RAW message or body]

Hi

I'm running TMDA-Cgi (0.13) and TMDA 1.03-r3. I have two problems.

My system info is:
Portage 2.0.51-r8 (default-ppc-2004.1, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9 ppc)
=================================================================
System uname: 2.6.9 ppc 7450, altivec supported
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4,dev-lang/python-2.2.3-r5
[2.3.4 (#1, Jun  9 2004, 14:18:49)]
dev-lang/python:     2.3.4, 2.2.3-r5
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.19-r1, 2.4.22

My configure.ini is attached. Im running in System-wide mode. 

1.) Whenever I try to log into tmda-cgi my apache2 error-log tells me:

* [Thu Dec 16 11:14:45 2004] [error] [client 127.0.0.1] malformed
header from script. Bad header=  File "tmda-cgi.py", line 117:
tmda.cgi, referer: http://localhost/cgi-bin/tmda.cgi

The routine with confirm/accept-mails works but

2.) When I put "%(confirm_accept_url)s" into 'confirm-request.txt' I get:
Uncaught Python 2.3.4 Exception (Thu Dec 16 11:26:48 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 762, in bouncegen
    bounce_message = Util.maketext(templatefile, vars())
  File "/usr/lib/python2.3/site-packages/TMDA/Util.py", line 990, in maketext
    text = template % localdict
KeyError: 'confirm_accept_url'

Thanks for any help and advice.
Zeno

["configure.txt" (text/plain)]

(dp0
S'AuthArg'
p1
S'/var/vpopmail/bin/vchkpw'
p2
sS'Perm'
p3
S'6711'
p4
sS'Config'
p5
S'None'
p6
sS'SessionPrefix'
p7
S'/tmp/TMDASession.'
p8
sS'InstPath'
p9
S'/home/zeno/tmda-cgi-0.13/'
p10
sS'Python'
p11
S'/usr/bin/python'
p12
sS'Base'
p13
S'/usr/lib/python2.3/site-packages/'
p14
sS'AuthURI'
p15
S'pop3://localhost'
p16
sS'Path'
p17
S'/home/zeno/tmda-cgi-0.13/'
p18
sS'AuthProg'
p19
g2
sS'AuthType'
p20
S'program'
p21
sS'Target'
p22
S'/var/www/localhost/cgi-bin/'
p23
sS'DispDir'
p24
S'../tmda/display'
p25
sS'CC'
p26
S'gcc'
p27
sS'VLookup'
p28
S'vpopmail1 /var/vpopmail/bin/vuserinfo ~'
p29
sS'Mode'
p30
S'system-wide'
p31
sS'AuthFile'
p32
S'None'
p33
sS'SessionOdds'
p34
S'0.01'
p35
sS'VUser'
p36
S'vpopmail'
p37
sS'SessionExp'
p38
S'300'
p39
s.

_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic