# Manage subscribeable mailing lists

## Summary

Since iRedMail-0.9.8, iRedMail integrates mlmmj as mailing list manager.

## Manage subscribeable mailing lists with iRedAdmin-Pro

With iRedAdmin-Pro, you can easily manage mailing list accounts with its web UI. Screenshots of mailing list profile pages in iRedAdmin-Pro:

Profile page:

Allow users to subscribe from web page:

Instruction to generate a newsletter sign up form:

## Manage subscribeable mailing lists with command line tool

iRedMail integrates `mlmmjadmin` (a RESTful API server developed by iRedMail team) to help you manage mlmmj mailing lists, it also offers command line script `/opt/mlmmjadmin/tools/maillist_admin.py` for system administrators.

Attention

All settings used to create or update mailing list profiles are listed on mlmmjadmin API document.

- Create a new mailing list account with additional setting:

`python maillist_admin.py create list@domain.com only_subscriber_can_post=yes disable_archive=no`

- Get settings of an existing mailing list account

`python maillist_admin.py info list@domain.com`

- Update an existing mailing list account

`python maillist_admin.py update list@domain.com only_moderator_can_post=yes disable_subscription=yes`

- Delete an existing mailing list account

`python maillist_admin.py delete list@domain.com archive=yes`

- List all subscribers:

`python maillist_admin.py subscribers list@domain.com`

- Show subscribed lists of a given subscriber:

`python maillist_admin.py subscribed subscriber@domain.com`

- Check whether mailing list has given subscriber:

`python maillist_admin.py has_subscriber list@domain.com subscriber@gmail.com`

## References

- Mlmmj:
  - web site
  - Tunable parameters
  - Postfix integration
- mlmmjadmin: RESTful API server used to manage mlmmj mailing lists. Developed and maintained by iRedMail team.

## See Also

- Integrate mlmmj mailing list manager in iRedMail (OpenLDAP backend)
- Integrate mlmmj mailing list manager in iRedMail (MySQL/MariaDB backends)
- Integrate mlmmj mailing list manager in iRedMail (PostgreSQL backend)