I upgraded from .65 to .68 today.  TMDA appears to be functioning correctly.
I decided to try tmda-cgi for the first time and am getting errors like
those mentioned in this post from 01/08.   The logon screen is plain white
with username and password field.  If I use the wrong password I am returned
to the logon screen as expected.  If I use the correct password I get the
following error...

       /usr/local/tmda-0.68/contrib/cgi/tmda-cgi.py
         56

         57 # Get any persistent variables

         58 PVars = Session.Session(Form)

         59

         60 def main():

      PVars undefined, Session = <module 'Session' from 'Session.pyc'>,
Session.Session = <class Session.Session at 0x12574c>, Form =
FieldStorage(None, None, [MiniFieldStorage('user...('cmd', 'list'),
MiniFieldStorage('debug', '0')])


       ? in __init__(self=<Session.Session instance at 0x12a42c>,
Form=FieldStorage(None, None, [MiniFieldStorage('user...('cmd', 'list'),
MiniFieldStorage('debug', '0')]))



KeyError: getpwnam(): name not found
      __doc__ = 'Mapping key not found.'
      __getitem__ = <bound method KeyError.__getitem__ of
<exceptions.KeyError instance at 0x12a44c>>
      __init__ = <bound method KeyError.__init__ of <exceptions.KeyError
instance at 0x12a44c>>
      __module__ = 'exceptions'
      __str__ = <bound method KeyError.__str__ of <exceptions.KeyError
instance at 0x12a44c>>
      args = ('getpwnam(): name not found',)

------end of error-----------

I am using qmail and vmailmgr for virtual domains on an OpenBSD system.   I
used the following to compile tmda-cgi:

./compile -c /home/dom/tmda/~/config -t /var/www/cgi-bin/tmda.cgi

Only error in the apache logs are about style.css from when the logon screen
loads.

[Sat Jan 18 17:31:39 2003] [error] [client X.X.X.X] file permissions deny
server execution: /var/www/cgi-bin/display/styles.css

I have been using ofmipd for months, if I could get tmda-cgi working all the
better.

Thanks

Darley

----- Original Message -----
From: "Fred Gildred" <thejunkcan>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 9:05 PM
Subject: TMDA-CGI .68 Error


First off all TMDA is great!  A hearty thank you to all who are working on
this project!


Running FreeBSD with qmail and have successfully installed TMDA .68 (was
running .67)  I've successfully compiled tmda-cgi and I receive the login
and password prompts when I point my browser to it. When I log in I receive
the following (in a nicely formatted HTML page):


KeyError    Python 2.2.1: /usr/local/bin/python
Wed Jan 8 21:58:42 2003

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

/usr/local/vpopmail/tmda-0.68/contrib/cgi/tmda-cgi.py
56

57 # Get any persistent variables

58 PVars = Session.Session(Form)

59

60 def main():

PVars undefined, Session = <module 'Session' from 'Session.pyc'>,
Session.Session = <class Session.Session>, Form = FieldStorage(None, None,
[MiniFieldStorage('user...('cmd', 'list'), MiniFieldStorage('debug', '0')])

? in __init__(self=<Session.Session instance>, Form=FieldStorage(None,
None, [MiniFieldStorage('user...('cmd', 'list'), MiniFieldStorage('debug',
'0')]))

KeyError: getpwnam(): name not found
__doc__ = 'Mapping key not found.'
__getitem__ = <bound method KeyError.__getitem__ of
<exceptions.KeyError instance at 0x8232a6c>>
__init__ = <bound method KeyError.__init__ of <exceptions.KeyError
instance at 0x8232a6c>>
__module__ = 'exceptions'
__str__ = <bound method KeyError.__str__ of <exceptions.KeyError
instance at 0x8232a6c>>
args = ('getpwnam(): name not found',)




I have tried logging in with bad credentials and it correctly tells me that
my password is wrong.  I'm pretty sure that permissions are correct and that
my config file is correct.

Thanks in advance,

Fred Gildred

_____________________________________________
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