Install Ezmlm-idx
EZmlm-idx is a nice mailing list add-on to Qmail. When we install Qmailadmin later on, you'll see that EZmlm-idx integrates seamlessly into Qmailadmin to provide a very user friendly mailing list management interface. As an added bonus, Vpopmail (which we will install as well) will let you control what users can and cannot use mailing lists! Can't beat that! Its home page is here: http://www.ezmlm.org/
tar zxvfp ezmlm-idx-7.1.1.tar.gz
cd /downloads/ezmlm-idx-7.1.1
ln -s /downloads/ezmlm-idx-7.1.1/lang/en_US/ /downloads/ezmlm-idx-7.1.1/lang/default
make clean
make; make man
./ezmlm-test
You should have an answer like this :
Using subdb plugin: std
ezmlm-reject: OK
ezmlm-[un|is]sub[n]: OK
ezmlm-checksub: OK
ezmlm-send: OK
ezmlm-tstdig: OK
ezmlm-weed: OK
ezmlmrc contents: OK
ezmlm-clean: OK
ezmlm-store: OK
ezmlm-return: OK
ezmlm-warn (1/2): OK
ezmlm-manage (1/2): OK
ezmlm-request: OK
ezmlm-split: OK
ezmlm-gate: OK
ezmlm-idx: OK
ezmlm-get (index): OK
ezmlm-get (get): OK
ezmlm-get (thread): OK
ezmlm-get (digest): OK
ezmlm-manage (2/2): OK
ezmlm-moderate: OK
ezmlm-warn (2/2): OK
ezmlm-archive: OK
ezmlm-dispatch: OK
dispatch editor: OK
decode sender: OK
Verifying message header and body contents...
flags and substs: OK
messages: OK
subscribe probe: OK
unsubscribe probe: OK
subscribe: OK
unsubscribe: OK
moderated subscribe: OK
moderated unsub: OK
subscribe by mod: OK
unsubscribe by mod: OK
copylines: OK
ezmlm-send: OK
Cleaning up...
Edit the files /downloads/ezmlm-idx-7.1.1/conf-ld and replace the first line by :
Create the needed Database.
The used MySQL_root_password should be the password chosen on pre-step 3. It's should not be the same as the password for ezmlmuser (EZMLM_PASSWORD).
It's not a typo, the MySQL_root_password should really be just aside the -p
CREATE DATABASE ezmlm;
GRANT ALL PRIVILEGES ON ezmlm.* TO ezmlmuser@localhost IDENTIFIED BY 'EZMLM_PASSWORD';
FLUSH PRIVILEGES;
quit;
Test the account you have just created
You should have such response
Your MySQL connection id is 1073
Server version: 5.1.49-3 (Debian)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>exit;
Install and test the mysql support
make mysql
./ezmlm-test -s mysql -u ezmlmuser -p EZMLM_PASSWORD -h localhost
You should have an answer like this :
Using subdb plugin: mysql
ezmlm-reject: OK
ezmlm-[un|is]sub[n]: OK
ezmlm-checksub: OK
ezmlm non-SQL: OK
ezmlm SQL: OK
...
Finalize the install
Ezmlm-0.53 is a qmail-based mailing list manager written by Dan J. Bernstein (qmail's author) ; ezmlm-idx originated as an add-on to it. It now exists as a complete package on its own, but can still be considered essentially as an extension to ezmlm.
Users comments
@Yalcin : did you change something else ?
./ezmlm-test works now :-) Thanks again.
Yalcin
Hi Thibs,
Thanks for your answer. I have already installed all the "Debian packages install" section packages. My system is 64 bit, is it make any problem?
Here is my output for library.
---
root@vmail:~# aptitude install mysql-common mysql-server-5.1 mysql-client-5.1 mysql-server-core-5.1 libmysqlclient16 libmysqlclient-dev
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
---
Yalcin
It's because you need to install libmysqlclient16 libmysqlclient-dev. Install what is described on package-install.php
Hi,
When I run ./ezmlm-test
I received the below error. I searched the error in goole but can not find any solution.
----
.
.
messages: OK
subscribe nop: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
unsubscribe nop: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
subscribe probe: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
unsubscribe probe: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
subscribe: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
unsubscribe: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
moderated subscribe: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
moderated unsub: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
subscribe by mod: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
unsubscribe by mod: Header is missing or wrong From: line:
..............: Header is missing or wrong Content-Type: line:
..............: Headers contained extra lines:
rom: xyzzy-__tstlist-help@example.com
ontent-Type: text/plain; charset=iso-8859-15
OK
copylines: OK
.
.
----
Any help is welcome.
Yalcin
when you're editing conf-ld file be sure "cc -g -B /usr/lib/mysql/" is on the first line. It gives an error message if you accidently hit enter while you editing the file and move the line one below.

Hi Again,
I reboot the server before the ./ezmlm-test
Thanks for your great we site.
Yalcin