hi all

I've asked before but had no reply.

I'm using  redhat7/qmail/tmda-1.1.9/tmda-cgi-0.15/vmailmgr-0.96.9

I'm having issues with tmda-cgi not handling usernames with a dot (.)

i use tmda without tmda-cgi with usernames with dots, no issues

but since installing tmda-cgi for one of our virtual domains, the
usersname with "." fail with the below error...

any suggestions would be appreciated.


----error below----

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
  /home/mydomain/tmda-cgi/tmda-cgi.py
  115 try:
  116   try:
  117     PVars = Session.Session(Form)
  118     CgiUtil.ErrTemplate = "error.html"
  119   except CgiUtil.NotInstalled, (ErrStr, PVars):
PVars undefined, Session = <module 'Session' from
'/home/mydomain/tmda-cgi/Session.pyc'>, Session.Session = <class
Session.Session>, Form = FieldStorage(None, None,
[MiniFieldStorage('user... 'mypassword'), MiniFieldStorage('cmd',
'init')])
  /home/mydomain/tmda-cgi-0.15/Session.py in
__init__(self=<Session.Session instance>, Form=FieldStorage(None,
None, [MiniFieldStorage('user... 'mypassword'),
MiniFieldStorage('cmd', 'init')]))
  418       return
  419     # When getuserparams returns a UID of 0 or 1, assume it is a
virtual user
  420     if int(self.Vars["UID"]) < 2:
  421       PasswordRecord = pwd.getpwnam(os.environ["TMDA_VUSER"])
  422       self.Vars["UID"]  = PasswordRecord[2]
builtin int = <type 'int'>, self = <Session.Session instance>,
self.Vars = {'GID': '536', 'HOME': '/home/mydomain/users/d', 'IP':
'129.xxx.xxx.xxx', 'NAME': None, 'UID': 'kavadas', 'User':
'[EMAIL PROTECTED]'}

ValueError: invalid literal for int(): kavadas
      args = ('invalid literal for int(): kavadas',)
_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to