Mailing Lists

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.

Add mailing list capabilities to your Qmail server with

ezmlm-idx adds multi-message threaded archive retrieval, digests, remote administration, message and subscription moderation, subscriber-only restrictions, message trailer, subject prefix, subscriber name storage, customizable setup, multi-language and MIME support and more. In addition, improved bounce handling, case-insensitive subscriber address storage, and support for distributed lists (main + sublist transparent to the subscriber).

Installation
Download the ezmlm source tarball:

cd /extra/src
wget http://cr.yp.to/software/ezmlm-0.53.tar.gz
tar zxf ezmlm-0.53.tar.gz
cd ezmlm-0.53

Deal with the pesky errno issue:

sed -i '/extern int errno/{s/^/\/* /;s/$/ *\//;G;s/$/#include <errno.h>/;}' error.h

The GCC in CentOS 5.x has issues with a log() function that needs to be adjusted. Edit ezmlm-manage.c and ezmlm-return.c and add:

#include “log.h”

Build and install the programs:

make && make man
make setup

Download the ezmlm-idx tarball, latest stable version was 7.1.1:

cd /extra/src
wget http://www.ezmlm.org/archive/7.1.1/ezmlm-idx-7.1.1.tar.gz
tar zxf ezmlm-idx-7.1.1.tar.gz
cd ezmlm-idx-7.1.1

Compile the programs and manpages:

make clean
make; make man

Test the programs:

./ezmlm-test

Copy the binaries and man pages to the correct locations:

make install

qmailadmin should be recompiled to support ezmlm.

Setting up a Mailing List
To create a mailing list, use ezmlm-make:

/usr/local/bin/ezmlm/ezmlm-make /home/vpopmail/domains/<domain>/<listname> \
    /home/vpopmail/domains/<domain>/.qmail-<listname> \
    <listname> <domain>
chown -h vpopmail.vchkpw /home/vpopmail/domains/<domain>/.qmail-<listname>
chown -R vpopmail.vchkpw /home/vpopmail/domains/<domain>/<listname>

Want to change the options? RTFM. Though after reading that, you might decide to just use qmailadmin to manage your mailing lists!

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 4 days ago
    Drupal 10/11 config
  • 9 months 5 days ago
  • PHP
    9 months 5 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 6 days ago
    New version of Pound