I've installed qmailadmin on a Debian 3.1r2 box with the latest 2.6 kernel and I have no partitions mounted with nosuid and I'm su - in as root. I'm also running apache2. I've installed qmailadmin per the instructions on the qmail toaster (http://www.shupp.org/toaster/index.php#qmailadmin) and per the INSTALL file using the following confiure options:

./configure --enable-help --enable-htmldir=/var/www/qmailadmin \
--enable-cgibindir=/usr/lib/cgi-bin --enable-modify-quota \
--enable-domain-autofill --enable-modify-spam ; make ; make install

which yields:

           qmailadmin 1.2.10
           Current settings
---------------------------------------
      cgi-bin dir = /usr/lib/cgi-bin
         html dir = /var/www/qmailadmin
        image dir = /var/www/qmailadmin/images/qmailadmin
        image URL = /images/qmailadmin
     template dir = /usr/local/share/qmailadmin
        qmail dir = /var/qmail
     vpopmail dir = /home/vpopmail
  autorespond dir = /usr/bin
        ezmlm dir = /usr/local/bin/ezmlm
        ezmlm idx = yes
  mysql for ezmlm = yes
             help = yes
     modify quota = yes
  domain autofill = yes
modify spam check = yes
     spam command = |preline /usr/local/bin/maildrop /etc/mailfilter

---------------------------------------

my apache conf has this in one of the vhosts I'm testing with:

# setting up qmailadmin images folder alias.
Alias /images/qmailadmin/ "/var/www/qmailadmin/images/qmailadmin/"

# Setting up qmailadmin to point to where it's installed
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

<Directory "/usr/lib/cgi-bin">
       AllowOverride None
       Options +ExecCGI -MultiViews +FollowSymLinks
       Order allow,deny
       Allow from all
</Directory>
#--------

All is well so far. I browse to http://sparky.supplant.net/cgi-bin/qmailadmin and I get the login page but no mater what I enter, when I click login, the page just reloads with no error and wont login when I know the credentials are correct. I've checked all the logs on the system and the only thing that references qmailadmin is this in access.log for apache over and over again:

<ip removed> - - [08/Sep/2006:11:13:41 -0500] "GET /cgi-bin/qmailadmin HTTP/1.1" 200 5623 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; NetCaptor 7.5.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)"

#------

The permissions on qmailadmin in /usr/lib/cgi-bin are:
-rwsr-sr-x  1 vpopmail vchkpw  328290 2006-09-08 11:10 qmailadmin


I'm at a loss as to what is causing this to not function properly. I have qmailadmin on another server with the same versions of services installed, it's just running on CentOS. apache is running under www-data on both machines. Any tips on why this could be happening would be greatly appreciated.


--
Jack Mays

Reply via email to