81 lines
2.7 KiB
Markdown
81 lines
2.7 KiB
Markdown
# Manage subscribeable mailing lists
|
|
|
|
[TOC]
|
|
|
|
## Summary
|
|
|
|
Since iRedMail-0.9.8, iRedMail integrates mlmmj as mailing list manager.
|
|
|
|
## Manage subscribeable mailing lists with iRedAdmin-Pro
|
|
|
|
With [iRedAdmin-Pro](https://www.iredmail.org/admin_panel.html), you can easily
|
|
manage mailing list accounts with its web UI. Screenshots of mailing
|
|
list profile pages in iRedAdmin-Pro:
|
|
|
|
Profile page:
|
|
|
|
![](./images/iredadmin/mailinglist_profile.png){: width="900px" }
|
|
|
|
Allow users to subscribe from web page:
|
|
|
|
![](./images/iredadmin/mailinglist_newsletter.png){: width="900px" }
|
|
|
|
Instruction to generate a newsletter sign up form:
|
|
|
|
![](./images/iredadmin/mailinglist_signup_code.png){: width="900px" }
|
|
|
|
## Manage subscribeable mailing lists with command line tool
|
|
|
|
iRedMail integrates [`mlmmjadmin`](https://github.com/iredmail/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](https://github.com/iredmail/mlmmjadmin/blob/master/docs/API.md).
|
|
|
|
* 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](http://mlmmj.org/)
|
|
* [Tunable parameters](http://mlmmj.org/docs/tunables/)
|
|
* [Postfix integration](http://mlmmj.org/docs/readme-postfix/)
|
|
* [mlmmjadmin](https://github.com/iredmail/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)](./integration.mlmmj.ldap.html)
|
|
* [Integrate mlmmj mailing list manager in iRedMail (MySQL/MariaDB backends)](./integration.mlmmj.mysql.html)
|
|
* [Integrate mlmmj mailing list manager in iRedMail (PostgreSQL backend)](./integration.mlmmj.pgsql.html)
|