New section: Manage mailing lists with mlmmjadmin command line tool.
This commit is contained in:
parent
4838519298
commit
b921435b22
|
@ -350,6 +350,44 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Manage mailing lists with mlmmjadmin command line tool
|
||||||
|
|
||||||
|
mlmmjadmin ships script `tools/maillist_admin.py` to help you manage mailing
|
||||||
|
lists. You can find this script under directory `/opt/mlmmjadmin/tools/`.
|
||||||
|
|
||||||
|
!!! attention
|
||||||
|
|
||||||
|
All settings used to create or update mailing list profiles are listed on
|
||||||
|
[mlmmjadmin 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
|
## References
|
||||||
|
|
||||||
* iRedMail: <http://www.iredmail.org>
|
* iRedMail: <http://www.iredmail.org>
|
||||||
|
|
|
@ -383,6 +383,44 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Manage mailing lists with mlmmjadmin command line tool
|
||||||
|
|
||||||
|
mlmmjadmin ships script `tools/maillist_admin.py` to help you manage mailing
|
||||||
|
lists. You can find this script under directory `/opt/mlmmjadmin/tools/`.
|
||||||
|
|
||||||
|
!!! attention
|
||||||
|
|
||||||
|
All settings used to create or update mailing list profiles are listed on
|
||||||
|
[mlmmjadmin 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
|
## References
|
||||||
|
|
||||||
* iRedMail: <http://www.iredmail.org>
|
* iRedMail: <http://www.iredmail.org>
|
||||||
|
|
|
@ -384,6 +384,44 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Manage mailing lists with mlmmjadmin command line tool
|
||||||
|
|
||||||
|
mlmmjadmin ships script `tools/maillist_admin.py` to help you manage mailing
|
||||||
|
lists. You can find this script under directory `/opt/mlmmjadmin/tools/`.
|
||||||
|
|
||||||
|
!!! attention
|
||||||
|
|
||||||
|
All settings used to create or update mailing list profiles are listed on
|
||||||
|
[mlmmjadmin 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
|
## References
|
||||||
|
|
||||||
* iRedMail: <http://www.iredmail.org>
|
* iRedMail: <http://www.iredmail.org>
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<li><a href="#postfix-integration">Postfix integration</a></li>
|
<li><a href="#postfix-integration">Postfix integration</a></li>
|
||||||
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
||||||
<li><a href="#setup-mlmmjadmin-a-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: a RESTful API server used to manage mlmmj mailing lists</a></li>
|
<li><a href="#setup-mlmmjadmin-a-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: a RESTful API server used to manage mlmmj mailing lists</a></li>
|
||||||
|
<li><a href="#manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</a></li>
|
||||||
<li><a href="#references">References</a></li>
|
<li><a href="#references">References</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -361,6 +362,42 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</h2>
|
||||||
|
<p>mlmmjadmin ships script <code>tools/maillist_admin.py</code> to help you manage mailing
|
||||||
|
lists. You can find this script under directory <code>/opt/mlmmjadmin/tools/</code>.</p>
|
||||||
|
<div class="admonition attention">
|
||||||
|
<p class="admonition-title">Attention</p>
|
||||||
|
<p>All settings used to create or update mailing list profiles are listed on
|
||||||
|
<a href="https://github.com/iredmail/mlmmjadmin/blob/master/docs/API.md">mlmmjadmin document</a>.</p>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>Create a new mailing list account with additional setting:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py create list@domain.com only_subscriber_can_post=yes disable_archive=no</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Get settings of an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py info list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Update an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py update list@domain.com only_moderator_can_post=yes disable_subscription=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Delete an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py delete list@domain.com archive=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>List all subscribers:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribers list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Show subscribed lists of a given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribed subscriber@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Check whether mailing list has given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py has_subscriber list@domain.com subscriber@gmail.com</code></p>
|
||||||
<h2 id="references">References</h2>
|
<h2 id="references">References</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
<li><a href="#postfix-integration">Postfix integration</a></li>
|
<li><a href="#postfix-integration">Postfix integration</a></li>
|
||||||
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
||||||
<li><a href="#setup-mlmmjadmin-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: RESTful API server used to manage mlmmj mailing lists</a></li>
|
<li><a href="#setup-mlmmjadmin-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: RESTful API server used to manage mlmmj mailing lists</a></li>
|
||||||
|
<li><a href="#manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</a></li>
|
||||||
<li><a href="#references">References</a></li>
|
<li><a href="#references">References</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -391,6 +392,42 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</h2>
|
||||||
|
<p>mlmmjadmin ships script <code>tools/maillist_admin.py</code> to help you manage mailing
|
||||||
|
lists. You can find this script under directory <code>/opt/mlmmjadmin/tools/</code>.</p>
|
||||||
|
<div class="admonition attention">
|
||||||
|
<p class="admonition-title">Attention</p>
|
||||||
|
<p>All settings used to create or update mailing list profiles are listed on
|
||||||
|
<a href="https://github.com/iredmail/mlmmjadmin/blob/master/docs/API.md">mlmmjadmin document</a>.</p>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>Create a new mailing list account with additional setting:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py create list@domain.com only_subscriber_can_post=yes disable_archive=no</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Get settings of an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py info list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Update an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py update list@domain.com only_moderator_can_post=yes disable_subscription=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Delete an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py delete list@domain.com archive=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>List all subscribers:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribers list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Show subscribed lists of a given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribed subscriber@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Check whether mailing list has given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py has_subscriber list@domain.com subscriber@gmail.com</code></p>
|
||||||
<h2 id="references">References</h2>
|
<h2 id="references">References</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
<li><a href="#postfix-integration">Postfix integration</a></li>
|
<li><a href="#postfix-integration">Postfix integration</a></li>
|
||||||
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
<li><a href="#amavisd-integration">Amavisd Integration</a></li>
|
||||||
<li><a href="#setup-mlmmjadmin-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: RESTful API server used to manage mlmmj mailing lists</a></li>
|
<li><a href="#setup-mlmmjadmin-restful-api-server-used-to-manage-mlmmj-mailing-lists">Setup mlmmjadmin: RESTful API server used to manage mlmmj mailing lists</a></li>
|
||||||
|
<li><a href="#manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</a></li>
|
||||||
<li><a href="#references">References</a></li>
|
<li><a href="#references">References</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -392,6 +393,42 @@ service mlmmjadmin restart
|
||||||
rcctl start mlmmjadmin
|
rcctl start mlmmjadmin
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="manage-mailing-lists-with-mlmmjadmin-command-line-tool">Manage mailing lists with mlmmjadmin command line tool</h2>
|
||||||
|
<p>mlmmjadmin ships script <code>tools/maillist_admin.py</code> to help you manage mailing
|
||||||
|
lists. You can find this script under directory <code>/opt/mlmmjadmin/tools/</code>.</p>
|
||||||
|
<div class="admonition attention">
|
||||||
|
<p class="admonition-title">Attention</p>
|
||||||
|
<p>All settings used to create or update mailing list profiles are listed on
|
||||||
|
<a href="https://github.com/iredmail/mlmmjadmin/blob/master/docs/API.md">mlmmjadmin document</a>.</p>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li>Create a new mailing list account with additional setting:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py create list@domain.com only_subscriber_can_post=yes disable_archive=no</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Get settings of an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py info list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Update an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py update list@domain.com only_moderator_can_post=yes disable_subscription=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Delete an existing mailing list account</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py delete list@domain.com archive=yes</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>List all subscribers:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribers list@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Show subscribed lists of a given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py subscribed subscriber@domain.com</code></p>
|
||||||
|
<ul>
|
||||||
|
<li>Check whether mailing list has given subscriber:</li>
|
||||||
|
</ul>
|
||||||
|
<p><code>python maillist_admin.py has_subscriber list@domain.com subscriber@gmail.com</code></p>
|
||||||
<h2 id="references">References</h2>
|
<h2 id="references">References</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
<li>iRedMail: <a href="http://www.iredmail.org">http://www.iredmail.org</a></li>
|
||||||
|
|
Loading…
Reference in New Issue