How can I make qmailadmin to accept logon data coming from another login page rather 
than its own.

What i mean is, the user will login from some page that I created, say "login.php". 
First, the login data must be accepted by my own, qmail-independent authentication. If 
accepted, my login page will redirect the user directly into qmailadmin without being 
have to relogin to qmailadmin. I need to send logon data (username, domain and 
password) to qmailadmin. I tried the following:

1. I put the date to server envoirement by putenv. Did not work.
2. I tried to put the data directly to HTTP_POST_VARS. Did not work.
3. I modified the qmailadmin code to GET the login date, not POST, by changing the 
qmailadmin.c (line 111 & 152, i changed the accepted REQUEST_METHOD from POST to GET). 
Not suprisingly, it did not work.

I am using qmailadmin-0.45 and PHP.

Thanks in advance.

Reply via email to