Qmailadmin

Did not compile on CentOS 7 - but QmailAdmin really isn't necessary...

Any time you reconfigure and install vpopmail you will need to rebuild and install QmailAdmin. QmailAdmin statically links libvpopmail, so you need to recompile it whenever libvpopmail changes.

Install Apache
Since it is a web-based program, Qmailadmin requires a web server such as Apache or Lighttd be installed

Autorespond
Autorespond is used by QmailAdmin for "Mail Robots" and vacation messages.

cd /extra/src
wget http://iweb.dl.sourceforge.net/sourceforge/qmailadmin/autorespond-2.0.4.tar.gz
tar zxf /extra/src/autorespond-2.0.4.tar.gz
cd autorespond-2.0.4
make && make install

Qmailadmin
Version 1.2.15 is currently the stable version and has some fixes needed for onchange functionality. There is also a 1.2.16 devel version available.

cd /extra/src
wget http://iweb.dl.sourceforge.net/sourceforge/qmailadmin/qmailadmin-stable/1.2.15/qmailadmin-1.2.15.tar.gz
tar zxf qmailadmin-1.2.15.tar.gz
cd qmailadmin-1.2.15

John Simpson has a patch for qmailadmin 1.2.12 with a few onchange fixes:.

wget http://qmail.jms1.net/vpopmail/qmailadmin-1.2.12-onchange.3.patch
patch < qmailadmin-1.2.12-onchange.3.patch

ezmlm-idx 0.7.x requires a patch as well:

patch < mailinglist.c.ezmlm7.patch

Create the directories to hold the webmail and Qmailadmin related web files:

mkdir -p /var/websites/mail/htdocs
mkdir -p /var/websites/mail/cgi-bin
mkdir -p /var/websites/mail/logs

Assuming you are using Apache, installed as per this site's install guide:

  • Without ezmlm:

    cd /extra/src/qmailadmin-1.2.15
    ./configure \
    --enable-cgibindir=/var/websites/mail/cgi-bin \
    --enable-htmldir=/var/websites/mail/htdocs \
    --enable-ezmlmdir=n
  • With ezmlm:
    cd /extra/src/qmailadmin-1.2.15
    ./configure \
    --enable-cgibindir=/var/websites/mail/cgi-bin \
    --enable-htmldir=/var/websites/mail/htdocs \
    --enable-ezmlmdir=/usr/local/bin/ezmlm \
    --disable-ezmlm-mysql

Then compile qmailadmin, and install it:

make && make install-strip

Change the permissions of the installed files:

chown -R nobody:nobody /var/websites/mail/htdocs/images

Credits

Various bits of code, scripts, and procedures were put together with information from John Simpson's qmail.jms1.net website. It's an excellent resource on managing and setting up a Qmail server.

Recent Updates

  • 1 year 10 months ago
  • 1 year 10 months ago
  • 1 year 10 months ago
    php 8.x
  • 1 year 10 months ago
    10.6.7
  • 1 year 10 months ago
    Drop Centos 5/6 stuff