Jim Ramsay said: > Timo T. Rajala wrote: >> I recently installed tmda-cgi and I tried to get the "URL Confirmation" >> working. But I always get this error: >> >> --------------------------------------------- >> tmda-cgi cannot continue because a terminal error has been encountered. >> >> Error: Confirm Failed >> Cause: Old-style URL is not compatible with virtual users >> Additional: Running in system-wide mode. >> Attempted to use incompatible URL with euid 1, egid 0. >> >> Recommend: Contact this message's sender by an alternate means and >> inform >> them of this error, or try confirming your message using an alternate >> method. >> --------------------------------------------- >> >> This is an installation with vpopmail-5.2.1, tmda-0.91 and tmda-cgi-0.12 >> with the patch patch-0.12-20031208. >> >> These variables _are_ set: >> >> CGI_URL = "https://mypath-to-tmda-cgi" >> CGI_VIRTUALUSER = 1 >> >> The confirmation url format looks ok, for a virtual user, I think: >> >> https://server/path/to/tmda-cgi/tmda.cgi?uid&email&cookie >> >> The permissions on tmda.cgi is: >> >> -rws--s--x 1 root root >> >> The OS is Debian woody (a linux vserver) with Python 2.1.3. >> >> Any idea what could be wrong? The usual tmda email confirmation works >> fine, I can also login and check pending messages with tmda.cgi, but it >> would be nice to have URL based confirmation working also :-) > > Please try the following patch for the file stubs/vpopmail1.py and see > if it solves your problem: > > Index: vpopmail1.py > =================================================================== > RCS file: /cvsroot/tmda/tmda-cgi/stubs/vpopmail1.py,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -u -r1.4 -r1.5 > --- stubs/vpopmail1.py 4 Oct 2003 21:58:26 -0000 1.4 > +++ stubs/vpopmail1.py 9 Dec 2003 16:41:15 -0000 1.5 > @@ -35,4 +35,4 @@ > Dict[Match.group(1)] = Match.group(2) > > # Return the home directory, UID, and GID > - return Dict["dir"], Dict["uid"], 0, Dict["gecos"] > + return Dict["dir"], 0, 0, Dict["gecos"] > > -- > Jim Ramsay
This patch solved my problem! Now it works as it should do. Thanks Jim! :-)) _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
