well, I think it's an apache problem, and not qmailadmin. I've tried with source, the same thing. Now I try to connect, I log, but whatever link I try, I log out.
Check permissions on qmailadmin, it should be a suid binary.
Check the options in /etc/fstab for the volume qmailadmin is stored on, make sure it doesn't have the "nosuid" option set.
Try this test program to see what permissions qmailadmin is most likely running as:
/* permtest.c * test program for debugging qmailadmin * * Build it: * gcc -o permtest permtest.c * chown vpopmail:vchkpw permtest * chmod 6755 permtest * Install it (substitute correct directory for /var/www/cgi-bin/): * cp -a permtest /var/www/cgi-bin/ * Test it in a web browser: * http://your.site.name/cgi-bin/permtest */ #include <unistd.h> #include <sys/types.h> #include <stdio.h>
#define TEST_FILE "/home/vpopmail/etc/vpopmail.mysql"
int main() {
uid_t uid, euid;
FILE *f;printf ("Content-Type: text/html\n\n");
uid = getuid();
euid = geteuid();
printf ("<P>UID: %lu<BR>effective UID: %lu</P>\n",
(unsigned long) uid, (unsigned long) euid);f = fopen (TEST_FILE, "r");
if (f == NULL) {
printf ("Error: Can't open %s for reading.\n", TEST_FILE);
} else {
printf ("No permissions problems opening %s.\n", TEST_FILE);
fclose (f);
}
return 0;
}
-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
