I just rebuilt one of my mail servers Wednesday, starting from a tar'd
backup of nothing but my /var/qmail and /home/vpopmail.
I installed qmail version 1.03, ucspi-tcp-0.88, daemontools 0.70, vpopmail
4.9.5, ezmlm 0.53, autorespond 1.0.0, qmailadmin 0.39, sqwebmail-1.0.2, and
courier-imap-1.2.1.
I had none of the problems mentioned.
My tests of the same:
1. - Trying to log into qmailadmin with an invalid domain or password, I get
Invalid Login
2. - Trying to log into sqwebmail with more than one @ in the username, I
get INVALID USER ID OR PASSWORD
3. - Trying to log into sqwebmail with an invalid username or password, I
get INVALID USER ID OR PASSWORD
I think the real solution is to use the packages with the versions they are
intended to be used with. Each package you used, qmailadmin, sqwebmail, and
in my case courier-imap are dependant on vpopmail. They are dependant on a
particular version as well, which is why you were seeing problems. Every
time I install vpopmail I also reinstall the corresponding versions of
qmailadmin, sqwebmail, and courier-imap, for the above reasons.
FYI, vpopmail install is not destructive and you do not need to stop qmail
to install/upgrade it.
-----Original Message-----
From: Alfredo Hassaf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 2:28 PM
To: [EMAIL PROTECTED]
Subject: RE: cgi error with qmailadmin
This is curious, yesterday I had the same problem and spend all day trying
to fix it, finnally I did but this is what I saw:
If you have a totally clean machine, this is with nothing installed but
Linux, and you go and install all newest versions of qmaladmin, vpopmail,
sqwebmail, for sure youll have problems, this are the problems I detected:
I installed yesterday this packages: qmail version 1.03, ucspi-tcp-0.88,
daemontools 0.70, vpopmail 4.9.4, ezmlm 0.53, autorespond 1.0.0, qmailadmin
0.38, sqwebmail 0.34b and had this problems...
1.- Trying to log into qmailadmin with an invalid domain or password, youll
get the error you mention and the log says:
Premature end of script
headers: /home/httpd/cgi-bin/qmailadmin
WARNING: chdir to /home/vpopmail/domains/dsad failed
2.- Trying to log into sqwebmail with more than one @ in the username,
youll get the error you mention, and the log says:
Premature end of script
headers: /home/httpd/cgi-bin/sqwebmail
WARNING: chdir to /home/vpopmail/domains/sds failed (EVEN IF sds exists)
3.- Trying to log into sqwebmail with an invalid username or password,
youll get the error you mention, and the log says:
Premature end of script
headers: /home/httpd/cgi-bin/sqwebmail
WARNING: chdir to /home/vpopmail/domains/sds failed (EVEN IF sds exists)
I thought OK, lets install the latest version of sqwebmail and the latest
version of qmaladmin, since the ones I?ve installed were not the newest. I
did but still get the same errors.
Heres the solution....
The problem is not with sqwebmail or qmailadmin, the real problem is with
vpopmail, vpopmail 4.9.4 installed on a new machine doesnt work fine, I
discover this because the other servers where I ve qmail installed on have
no problems but the history is different, this servers had originally
vpopmail 4.9 and I upgrated to vpopmail 4.9.4 and work excellent, so when
yesterday I installed qmail again I did not installed vpopmail 4.9 I
installed vpopmail 4.9.4 and the problems began, so I recomend you to....
1.- Stop qmail
2.- If you have vpopmail installed make clean on it then Install vpopmail
4.9
3.- Install or reinstall qmailadmin, sqwebmail (any version)
4.- Start qmail, make tests, you should not have any problems at this point.
5.- stop qmail
6.- make clean on vpopmail 4.9
7.- Install vpopmail 4.9.4
8.- Start qmail
9.- If you have problems with qmailadmin or sqwebmail reinstall them again
(be sure to make clen first).
10.- You should have no problems at all if you do this.
I dont really dont know why but I imagine that there are some files in
vpopmail 4.9 that works fine and the same files doesnt works fine on
vpopmail 4.9.4, or whatever, this is really a case that the gurus in qmail
like Ken Jones will have to work out.
I was going to post this situation yesterday but I had no time, I hope it
works for you... In case you dont have vpopmail 4.9 I attached it here....
Maybe this problem helps for other bugs that are arround and no body knows
where they start...
Jose Alfredo Hassaf Abraham
Director de Desarrollo e Internet
Quitze S.A. de C.V.
5545-1286 y 5545-1287
-----Original Message-----
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Jueves 2 de Noviembre de 2000 7:50 PM
To: [EMAIL PROTECTED]
Subject: cgi error with qmailadmin
I have installed qmailadmin and got it to run at least to the point where
the logon screen appears.
I have set up a domain sql.marketingms.com. Which does exist and work
properly.
I type in postmaster, sql.marketingms.com, <password> click on login and I
get an Error 500 internal server error.
On inspecting httpd logs I get
WARNING: chdir to /home/vpopmail/domains/sql.marketingms.com failed
[Thu Nov 2 16:32:42 2000] [error] [client 62.253.246.250] Premature end of
scri
pt headers: /usr/local/httpd/cgi-bin/qmailadmin
The directory it supposedly can't chdir to DOES exist by the way.
Any offers??
Thanks
Howard