Guide updated on 29th of February 2016

Install Qmailadmin

Qmailadmin is going to provide us with a nice web based interface for administering mail accounts once they are setup through Vpopmail (or Vqadmin). From Qmailadmin we can create mailboxes, aliases, fowards, mail robots, mailing lists. You'll also find a few other handy functions as well. Qmailadmin is sort of the icing on the Qmail cake.

cd /downloads/
tar zxvf qmailadmin-1.2.16.tar.gz
cd /downloads/qmailadmin-1.2.16

sed -i "33i\#include \"config.h\"" command.c
patch < /downloads/patches/mailinglist.c.ezmlm7.patch

./configure \
--enable-cgibindir=/var/www/mail/cgi-bin/ \
--enable-htmldir=/var/www/mail/cgi-bin/ \
--enable-imageurl=/images \
--enable-imagedir=/var/www/mail/images \
--enable-domain-autofill \
--enable-ezmlmdir=/usr/local/bin/ezmlm \
--enable-autoresponder-bin=/usr/bin/

autoreconf -vfi
make && make install-strip

cd /var/www/mail/images
rm middleleft1.png
wget http://mailadmin.thibs.com/images/middleleft1.png

We 'll test this web interface after completing the next step ...

Enabling web tools


Users comments
Thibs - 07/10/2012 18:43

@Nasir : I usually use vqadmin for this

Nasir uddin pavel - 07/10/2012 12:03

 

Quota OPTION is not getting in Qmailadmin. How can i get that option ?

Syngin - 30/07/2012 18:35

Running the following appeared to help the below issue:

aclocal aclocal.m4

Zhay - 16/05/2012 12:55

@seb

same .. me too

/var/log/apache2/error.log

ezmlm-list: fatal: Could not load plugin /usr/local/lib/ezmlm/sub-localhost.so

Seb - 27/03/2012 15:42

Ok i'm progressing. When i try to create a maling-mist with sql support, qmailadmin does not create any table, confirmed by the find command. With a sql database linked to my maling-list, i could easily copy the users of the old maling-list in the new, but i don't understand how ezmlm works, what i'm supposed to do to link my mailing-list to a sql database ?

Here my SQL configuration for my mailing-list

Paramètres SQL
Activer le support SQL
Hôte:            192.168.20    Port:     3306
Utilisateur:        ezmlmuser    Mot de passe:     mysql
Base de données:     dbb         Table:         testliste

Thanks.

Seb - 27/03/2012 10:13

Hi,

The old install was set by the previous administrator of my company and i don't understand what he has done, there is no qmail folder in var folder, and he did not install vpopmail, so i can't apply the upgrade procedure.
On the other side i can access to the ezmlm database of the old install where the users of the maling-list are stored, can't i just ask to the new ezmlm install to use a copy of the old ezmlm database ?

Thanks.

Thibs - 22/03/2012 23:19

@Seb : If you upgrade by following upgrade-from-qmailrocks.php, your list 'll be imported  thanks to the rsync command

Seb - 22/03/2012 10:10

Hi,

I need to import a mailing-list with about 10000 users from an old qmail install on my fresh install, can i do it trough qmail admin ?

Thanks.

Thibs - 25/02/2012 15:35

Hi Cyrus,

I've just adapted the page to include this patch

Thanks for the tip !

Thibs

Cyrus - 25/02/2012 13:28

Hi Thibs,

Many thanks for your fantastic work on this guide. Just a quick note to say that there seem to be some compatibility issues between qmailadmin 1.2.16 and ezmlm-idx 7; I originally had problems managing mailing lists through qmailadmin. This patch solved the problems:

http://sourceforge.net/tracker/?func=detail&aid=3094082&group_id=6691&atid=306691

Hope that's of help (perhaps you could include the patch in your tarball?)

Cheers

Cyrus

Thibs - 11/08/2011 12:38

If you experience a compilation problem at this step, take a look at http://www.pc-freak.net/blog/how-to-compile-latest-qmailadmin-qmailadmin-1-2-15-on-debian-squeeze-linux/


Color Coded Qmail Installation Key
  Regular Black Text     Qmail installation notes and summaries by the author.
  Bold Black Text     Commands to be run by you, the installer.
  Bold/Regular Red Text    Vital and/or critical information.
  Regular Blue text     Denotes helpful tips and hints or hyperlinks.
  Regular Orange Text     Command line output.
  Bold/Regular green text     Denotes the contents of a file or script.