I have tried recompiling with no success. 
Python version:  python-2.2.2-26
 
TMDA-CGI configuration:
[EMAIL PROTECTED] tmda-cgi]# cat configure.ini
(dp0
S'AuthType'
p1
S'remote'
p2
sS'Target'
p3
S'/var/www/cgi-bin/tmda.cgi'
p4
sS'DispDir'
p5
S'http://crossfire.monafamily.com/tmda-cgi/display/'
p6
sS'CC'
p7
S'gcc'
p8
sS'VLookup'
p9
S'vpopmail1 /home/vpopmail/bin/vuserinfo ~'
p10
sS'AuthArg'
p11
S'pop3://localhost'
p12
sS'Perm'
p13
S'6711'
p14
sS'Mode'
p15
S'system-wide'
p16
sS'Config'
p17
S'None'
p18
sS'SessionPrefix'
p19
S'/tmp/TMDASession.'
p20
sS'AuthFile'
p21
S'None'
p22
sS'SessionOdds'
p23
S'0.01'
p24
sS'VUser'
p25
S'vpopmail'
p26
sS'SessionExp'
p27
S'300'
p28
sS'InstPath'
p29
S'/home/vpopmail/tmda-cgi-0.13/'
p30
sS'Python'
p31
S'/usr/bin/python2'
p32
sS'Base'
p33
S'../tmda/'
p34
sS'AuthURI'
p35
g12
sS'Path'
p36
S'/home/vpopmail/tmda-cgi-0.13/'
p37
sS'AuthProg'
p38
S'/usr/sbin/checkpassword'
p39
 


From: Brad West [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 6:55 AM
To: Paul
Subject: Re: tmda-cgi + Bad header= File "tmda-cgi.py", line 117: tmda.cgi

You might try to reconfigure, make, and make install TMDA-CGI.  It almost sounds like is doesn't have the correct permissions.  If you can please send the configuration for TMDA-CGI and the python version you are running.
 
Brad
----- Original Message -----
From: Paul
Sent: Friday, October 08, 2004 9:16 AM
Subject: tmda-cgi + Bad header= File "tmda-cgi.py", line 117: tmda.cgi

I have just put tmda-cgi-0.13 and tmda-1.0.3 on a box running RH9, qmail and vpopmail.
 
My problem is when I access the page for tmda-cgi, after authenticating I get the following:
 

Server error!

The server encountered an internal error and was unable to complete your request.
Error message:
malformed header from script. Bad header= File "tmda-cgi.py", line 117: tmda.cgi
If you think this is a server error, please contact the webmaster

Error 500

 
 
The only thing I find in the apache logs is:
 
mod_mime_magic: can't read `/var/www/cgi-bin/tmda.cgi'
malformed header from script. Bad header=  File "tmda-cgi.py", line 117: tmda.cgi, referer: http://crossfire.monafamily.com/cgi-bin/tmda.cgi
 mod_mime_magic: can't read `/var/www/cgi-bin/tmda.cgi', referer: http://crossfire.monafamily.com/cgi-bin/tmda.cgi
 
 
 
Any ideas ??
 
 
 


_____________________________________________
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