Re: tmda-cgi failing after apache update on gentoo

Anthony Ercolano <[email protected]> Tue, 1 Nov 2011 08:52:26 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On Oct 31, 2011, at 7:35 PM, Kevin Goodsell wrote:

> On Mon, Oct 31, 2011 at 3:00 PM, Anthony Ercolano
> <[email protected]> wrote:
>> Both the released and "updated" version Kevin "published".
>> Basically when attempting to execute the cgi I get the following dump from
>> my browser:
>> 
> 
> Looks like a web server configuration problem to me. Instead of
> executing the CGI program, it's sending the program to the browser.

This first suggestion was the best.  During the upgrade I lost a portion of the APACHE2_MODULES specification in the /etc/make.conf.  When there were added back it I got the login page back.

However using the "updated" tmda.cgi I would always get an invalid password.  when I switched back to the released tmda.cgi the correct password was accepted.

Any thoughts on what I should pursue?

My configure.ini file for the password invalid password tmda.cgi looks like:
[environment-variables]
TMDA_CGI_MODE = system-wide
TMDA_SESSION_ODDS = 0.01
TMDA_VUSER = vpopmail
TMDA_SESSION_EXP = 300
TMDA_SESSION_PREFIX = /tmp/TMDASession.
TMDA_AUTH_ARG = imaps://mail.ercolano.net:993
TMDA_VLOOKUP = vpopmail1 /home/vpopmail/bin/vuserinfo ~
TMDA_CGI_DISP_DIR = ../display
TMDA_AUTH_TYPE = remote
TMDA_BASE_DIR = /usr/local/src/tmda/current
TMDARC = None

[configure-parameters]
auth_type = remote
config_file = None
session_prefix = /tmp/TMDASession.
binary_target = /var/www/localhost/cgi-bin/tmda.cgi
python_interpreter = /usr/bin/python2.6
cleanup_odds = 0.01
tmda_path = /usr/local/src/tmda/current
auth_uri = imaps://mail.ercolano.net:993
virtual_lookup = vpopmail1 /home/vpopmail/bin/vuserinfo ~
mode = system-wide
auth_file = None
virtual_user = vpopmail
auth_program = /usr/sbin/checkpassword
session_expire = 300
display_dir = ../display
compiler = gcc

The working tmda.cgi configure.ini looks like:
(dp0
S'AuthArg'
p1
S'imaps://mail.ercolano.net:993'
p2
sS'Perm'
p3
S'6711'
p4
sS'Config'
p5
S'None'
p6
sS'SessionPrefix'
p7
S'/tmp/TMDASession.'
p8
sS'InstPath'
p9
S'/usr/local/src/tmda-cgi/current'
p10
sS'Python'
p11
S'/usr/bin/python2.5'
p12
sS'Base'
p13
S'/usr/local/src/tmda/current'
p14
sS'AuthURI'
p15
g2
sS'Path'
p16
S'/usr/local/src/tmda-cgi/tmda-cgi-0.16.4/'
p17
sS'AuthProg'
p18
S'/usr/sbin/checkpassword'
p19
sS'AuthType'
p20
S'remote'
p21
sS'Target'
p22
S'/var/www/localhost/cgi-bin/tmda.cgi'
p23
sS'DispDir'
p24
S'../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
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users