Hello-

Im doing a new install of tmda/tmda-cgi (0.12 patched) on freebsd 5.1 using qmail/vpopmail. Im having a problem with the login scheme. I cant sign in to any email account with tmda-cgi, even when using flat file authentication or remote authentication. I always get this error in the source of the login screen:


Having difficulties logging in? Here's some details of why you couldn't:


Username [EMAIL PROTECTED] not found in system.
str='dir'

Ive made sure all file paths are readable, and the email accounts do authenticate via pop3 and imap. Ive installed tmda via the port (1.0), and made minor changes to the port for vpopmail (mysql auth). Heres the config for tmda-cgi (this is what Id like to work, but I did try flat file and remote auth, to no avail):

nodal# ./configure

Where is the Python interpreter? (version 2.1+)
> /usr/local/bin/python

When I compile the binary executable, where should I save it?
Enter the full path AND filename.
Generally, you will use the path to your webserver's cgi-bin directory, but it
can be stored elsewhere if you have your webserver configured to run CGI's in
other directories.
> /usr/local/tmda-cgi/tmda.cgi

Where did you install TMDA?
For source installs, this is the directory where you unzipped the archive.
You may enter a relative path (relative to the CWD) if you like.
If you installed TMDA from an RPM,
  try: "/usr/lib/python2.2/site-packages".
If you installed TMDA from a FreeBSD port, try:
  "/usr/local/lib/python2.2/site-packages".
> /usr/local/lib/python2.3/site-packages

Where did you install tmda-cgi?
This is typically the CWD.
> /usr/local/src/tmda-cgi/tmda-cgi-0.12/

Would you like to override the default config file location?
If so, enter a "formula" to specify where to look for the config file.
This formula is just a path, but it can include the character "~".
This character will be replaced by the user's name during execution.
To use the default config file location, enter "None".
> None

How should I authentication user logins? [file, program, remote, default]
"file" lets you specify a password file.
"program" lets you specify the path to a program such as checkpassword
"remote" lets you specify a protocol such as imap or pop3
"default" is similar to file, except it looks for password files in the default
locations.
> program

What is the authentication command? (full path and args)
 * For more details, see "config --help" option -p *
> /usr/local/vpopmail/bin/vchkpw

What is the relative or absolute web path from CGI to display directory?
This is discussed in the documentation at:
  http://tmda.sourceforge.net/tmda-cgi/compile.html#Display
> /display

What mode should the CGI run in? [system-wide, single-user, no-su]
> single-user

Which virtual user stub and parameters should I use for locating virtual users?
If your system does not have any virtual users, enter "None".
> vpopmail1 /home/vpopmail/bin/vuserinfo ~

Where should I save temporary session files?
Please enter a path and file prefix.
> /tmp/TMDASession.

How long (in seconds) may a temporary session file be allowed to sit
before it risks being cleaned up?
> 300

What are the odds of cleanup I should use? (0.01 = 1%)
> 0.01

When I look at the log file for pop3 or vpopmail (program) logins, I see no attempt to actually login. Yes, Im sure the password is correct, but I dont think its even checking, buy the error message given.

What did I overlook?

Thanks

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to