iRedMail-0.9.8 integrates mlmmj as mailing list manager. "Although it doesn't aim to include every feature possible, but focuses on staying mean and lean, and doing what it does do well, it does have a great set of features, including:"
For more details about mlmmj, please visit mlmmj website.
/var/vmail/mlmmj
by default. For example: mailing list newsletter@mydomain.com
:/var/vmail/mlmmj/mydomain.com/newsletter/archive/
./var/vmail/mlmmj/mydomain.com/newsletter/subscribers.d/
, file a
under
this directory contains all subscribers whose email addresses start with
letter a
.iRedMail team develops a HTTP RESTful API server called mlmmjadmin
to help
manage mlmmj mailing lists:
/opt/mlmmjadmin
, which is a symbol link to
/opt/mlmmjadmin-<version>
.127.0.0.1
, port 7779
by default.Let's say you have mail domain mydomain.com
hosted on iRedMail server,
now let's create mailing list newsletter@mydomain.com
from command line:
cd /opt/mlmmjadmin/tools/
python maillist_admin.py create newsletter@mydomain.com
You can create mailing list with extra options, for example:
python maillist_admin.py create newsletter@mydomain.com name='Support Team' disable_archive=no
/opt/mlmmjadmin/docs/API.md
on your server.To view mailing list settings, use the info
argument like below:
python maillist_admin.py info newsletter@mydomain.com
To update existing mailing list, use the update
argument like below:
python maillist_admin.py update newsletter@mydomain.com name='Updated name' disable_archive=yes
All options are listed in file /opt/mlmmjadmin/docs/API.md
on your server.
To delete an existing mailing list, use the delete
argument like below:
python maillist_admin.py delete newsletter@mydomain.com
To delete an existing mailing list, use the subscribers
argument like below:
python maillist_admin.py subscribers newsletter@mydomain.com
To check whether mailing list has given member/subscriber, use the
has_subscriber
argument like below:
python maillist_admin.py has_subscriber newsletter@mydomain.com subscriber@gmail.com
To check all subscribed mailing lists of a given member/subscriber, use the
subscribed
argument like below:
python maillist_admin.py subscribed subscriber@gmail.com
To subscribe to mailing list newsletter@mydomain.com
, simply send an email
to address newsletter+subscribe@mydomain.com
(content of mail subject and
body don't matter at all), you will receive an email for subscription
confirmation. Simply reply the confirm email with any subject/body will
confirm your subscription.
To unsubscribe from mailing list newsletter@mydomain.com
, simply send an
email to address newsletter+unsubscribe@mydomain.com
(content of mail
subject and body don't matter at all), you will receive an email for
unsubscription confirm, simply reply the confirm email with any subject/body
will confirm your unsubscription.