Vpopmail

by admin on August 13, 2009 · 0 comments

Qmail must be installed already

wget http://downloads.sourceforge.net/vpopmail/vpopmail-5.4.2.tar.gz?download
tar xzf vpopmail-5.4.2.tar.gz
cd vpopmail*

groupadd -g 89 vchkpw
useradd -g vchkpw -u 89 vpopmail -d /home/vpopmail

./configure –prefix=/home/vpopmail –enable-qmaildir=/var/qmail –enable-roaming-users –enable-relay-clear-minutes=10

make
make install-strip

Installing qmail-admin

For vpopmail-5.2.1 use qmailadmin-1.0.6
for vpopmail-5.4.3 and higher use qmailadmin-1.2.2 or higher

—————————————————————–
Installing Ezmlm
—————————————————————–
cd /usr/local/src
wget http://cr.yp.to/software/ezmlm-0.53.tar.gz
tar xzf ezmlm-0.53.tar.gz
chown -R root.root ezmlm-0.53

wget http://public.planetmirror.com/pub/ezmlm/ezmlm-patches/ezmlm-idx-0.40.tar.gz
wget http://public.www.planetmirror.com/pub/ezmlm/ezmlm-patches/ezmlm-idx-0.40.tar.gz
tar xzf ezmlm-idx-0.40.tar.gz
chown -R root.root ezmlm-idx-0.40

cp -R ezmlm-idx-0.40/* ezmlm-0.53/
# (you need to press y quite a few times to allow the patch files to overwrite the original files)

cd ezmlm-0.53
patch < idx.patch

wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ezmlm-idx-0.53.400.unified_41.patch
patch -p1 < ezmlm-idx-0.53.400.unified_41.patch

make
make man
make setup

——————————————————————————————
Installing Auto Responder
——————————————————————————————
cd /usr/local/src
wget http://superb-west.dl.sourceforge.net/sourceforge/qmailadmin/autorespond-2.0.4.tar.gz
tar xzf autorespond-2.0.4.tar.gz
chown -R root.root autorespond-2.0.4
cd autorespond-2.0.4
make
make install

——————————————————————————————
Installing qmailAdmin
——————————————————————————————
(Change paths as per your Distro)
adduser qadmin -d /var/www/qadmin
groupadd qadmin
usermod qadmin
passwd qadmin

mkdir /var/www/qadmin/public_html
mkdir /var/www/qadmin/public_html/cgi-bin

chown qadmin:qadmin /var/www/qadmin/public_html
chown qadmin:qadmin /var/www/qadmin/public_html/cgi-bin

emacs /etc/httpd/conf/vhosts/Vhosts.conf

Options ExecCGI
Options +Includes
AllowOverride All

DocumentRoot /home/qadmin/public_html/
Scriptalias /cgi-bin/ /home/qadmin/public_html/cgi-bin/
Servername core.nic.in

cd /usr/local/src

http://mesh.dl.sourceforge.net/sourceforge/qmailadmin/qmailadmin-1.2.10.tar.gz

tar xzf qmailadmin-1.2.10.tar.gz
chown -R root.root qmailadmin-1.2.10.tar.gz
cd qmailadmin-1.2.10

./configure
–enable-htmldir=/home/qadmin/public_html
–enable-cgibindir=/home/qadmin/public_html/cgi-bin
–enable-maxusersperpage=12
–enable-maxaliasesperpage=12
–disable-modify-quota
–disable-ezmlm-mysql
–disable-help

make
make install-strip

Previous post:

Next post: