Install Vqadmin
Vqadmin is simply a nice web based interface that will let us manage Vpopmail. Through the interface we can create new domains, new users, net quotas, enable services and much more.
cd /downloads/
tar zxvf vqadmin-2.3.7.tar.gz
cd /downloads/vqadmin-2.3.7
patch < /downloads/patches/vqadmin-2.3.7_lang.patch
cp /downloads/vqadmin-2.3.7/config.sub /downloads/vqadmin-2.3.7/config.sub.bak
cp /downloads/vpopmail-5.4.33/config.sub /downloads/vqadmin-2.3.7
You can find HERE all compilation options.
make && make install-strip
mv /var/www/html/images /var/www/mail/
cp /var/www/mail/cgi-bin/vqadmin/html/en-us /var/www/mail/cgi-bin/vqadmin/html/en-US
chown vpopmail:vchkpw /var/www/mail/cgi-bin/vqadmin/html/en-US
mv /var/www/mail/cgi-bin/vqadmin/.htaccess /var/www/mail/cgi-bin/vqadmin/htaccess.bak
Create the password file to access this interface
chown vpopmail:vchkpw /var/www/mail/cgi-bin/vqadmin/.htpasswd
We 'll test this web interface later ...
Users comments
if you receive the error:
vqadmin unable to chdir to vpopmail/domains/domain directory
when attempting to add domains etc, it is a permissions issue but not the permissions issue you will find on google. They all tell you to change permissions in /home/vpopmail.
I found the permissions issue was for the vqadmin and qmailadmin binaries in
/var/www/mail/cgi-bin
. In my infinite wisdom I ran a
chown -R www-data:www-data /varwww/mail
and this is INCORRECT!
So I ran the installs again and found the true permissions for these folders:
/var/www/mail/cgi-bin # ls -als 200 -rwsr-sr-x 1 vpopmail vchkpw 201456 Mar 26 21:14 qmailadmin 4 drwxr-xr-x 3 vpopmail vchkpw 4096 Mar 26 21:07 vqadminetc
Hello Carlo,
I had the same problem on a really old install several years ago ... and I've never found a solution ;-(
My alternative was to restart qmail twice a day by cron ;-(
I have this problem:
when I add a domain, I must restart qmail manually, otherwise the new domain is not recognized by the system, and emails sent to any user @ that domain is bounced back with the error ' Sorry. Although I'm listed as a best-preference MX or A for that host...'
does anybody know how to fix that?
thanks
nice guide, thanks. qmailrocks was ways too old, qmail remains a real pain, especially when building every single package manually, new distro version not compatible with libraries, etc.
btw, i made it work on slackware 13 64bit, and I've just realized that I must restart qmail ( qmailctl restart ) after I add a new domain, otherwise qmail does not recognize the new user
vuserinfo user@domain works
libtoolize --force
Hello,
Take a look just above this message ... you have to put admin/YOUR_WEB_PASSWORD as credentials
For your permission problem be sure to have followed instructions on webtools.php
Thanks for your reply. Now installation is ok. But new problem is :
when i logged into the ".../vqadmin/vqadmin.cgi " it wants userid and password. I give userid 'admin' and password "which is sat at mysql for vqadmin'. It's logged in and show "Internal server error: 500".
I see the '/var/log/apache2/mailadmin.mydomain.com-error.log" and found
Permission denied [13] : exec of .... Premature end of scripts headers : vqadmin.cgi
what should I do now..?
Hello Rashed,
I think I have found by reading http://www.gnulinux.in/forum/help-vqadmin-installation
Did you run the command
cp /downloads/vpopmail-5.4.33/config.sub /downloads/vqadmin-2.3.7
?
If it's still do not work, take a look to http://www.pc-freak.net/blog/fix-checking-build-system-type-invalid-configuration-x86_64-unknown-linux-machine-x86_64-unknown-not-recognized-on-configure/
When i execute ./configure ..... command, it shows
/downloads/vqadmin-2.3.7/missing : Unknown --run option. Warning : missing file is too old or missing
I can go to the login page of vqadmin and after giving userid and password i set here, it shows 'Internal Server problem"
Could u please tell me what should i do now..?
Hi there - looking for some input on this if any one has any?
Running:
/downloads/vqadmin-2.3.7# ./configure --enable-cgibindir=/var/www/mail/cgi-bin -enable-htmldir=/var/www/mail/ --enable-isoqlog=y
The following is reported.
configure: WARNING: unrecognized options: --enable-htmldir
Any help appreciated.