Merged in vzer/iredmail-docs (pull request #19)

Add doc for create ad account and set permissions.
This commit is contained in:
Zhang Huangbin 2018-09-26 10:25:23 +00:00
commit 6445663421
10 changed files with 42 additions and 62 deletions

View File

@ -42,10 +42,11 @@ max_connections = 1024
- a bash shell script for advanced customization. This file will be executed
every time iRedMail cloud platform deploys / upgrades the Nginx component.
A sample usage: Nginx doesn't support override existing settings by
same parameter from another config file, so you can use `rm` command in
this file (`custom.sh`) to remove the config file generated by iRedMail
cloud platform.
For example, Nginx doesn't support override existing settings by
loading same parameter from another config file, in this case you should
run `rm` command in this file (`custom.sh`) to remove existing config
file generated by iRedMail cloud platform and store custom settings in
another file.
- `/opt/iredmail/custom/nginx/conf-enabled/`: additional Nginx global settings used inside `http {}` block.
- If you want to override a parameter which is already defined in

View File

@ -169,8 +169,6 @@ cd /usr/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
```
On FreeBSD or OpenBSD:
@ -180,8 +178,6 @@ cd /usr/local/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
```
## Amavisd Integration
@ -234,14 +230,14 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `1.5` for example below.
We use version `1.6` for example below.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -187,8 +187,6 @@ cd /usr/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
```
On FreeBSD or OpenBSD:
@ -198,8 +196,6 @@ cd /usr/local/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
```
## Amavisd Integration
@ -252,14 +248,14 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `1.5` for example below.
We use version `1.6` for example below.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -188,8 +188,6 @@ cd /usr/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
```
On FreeBSD or OpenBSD:
@ -199,8 +197,6 @@ cd /usr/local/bin/
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
```
## Amavisd Integration
@ -253,14 +249,14 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `1.5` for example below.
We use version `1.6` for example below.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -12,6 +12,7 @@
* Add new http headers
* Fix openldap log file owner/group
* Fix `mlmmj-amime-receive` and upgrade mlmmjadmin.
## ChangeLog

View File

@ -78,10 +78,11 @@ max_connections = 1024
<li>a bash shell script for advanced customization. This file will be executed
every time iRedMail cloud platform deploys / upgrades the Nginx component.</li>
</ul>
<p>A sample usage: Nginx doesn't support override existing settings by
same parameter from another config file, so you can use <code>rm</code> command in
this file (<code>custom.sh</code>) to remove the config file generated by iRedMail
cloud platform.</p>
<p>For example, Nginx doesn't support override existing settings by
loading same parameter from another config file, in this case you should
run <code>rm</code> command in this file (<code>custom.sh</code>) to remove existing config
file generated by iRedMail cloud platform and store custom settings in
another file.</p>
</li>
<li>
<p><code>/opt/iredmail/custom/nginx/conf-enabled/</code>: additional Nginx global settings used inside <code>http {}</code> block.</p>

View File

@ -188,8 +188,6 @@ it manually</p>
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<p>On FreeBSD or OpenBSD:</p>
@ -197,8 +195,6 @@ perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<h2 id="amavisd-integration">Amavisd Integration</h2>
@ -249,15 +245,15 @@ fully integrated.</p>
extract downloaded package to <code>/opt/</code> directory, and create a symbol link:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>We use version <code>1.5</code> for example below.</p>
<p>We use version <code>1.6</code> for example below.</p>
</div>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -206,8 +206,6 @@ it manually</p>
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<p>On FreeBSD or OpenBSD:</p>
@ -215,8 +213,6 @@ perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<h2 id="amavisd-integration">Amavisd Integration</h2>
@ -267,15 +263,15 @@ fully integrated.</p>
extract downloaded package to <code>/opt/</code> directory, and create a symbol link:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>We use version <code>1.5</code> for example below.</p>
<p>We use version <code>1.6</code> for example below.</p>
</div>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -207,8 +207,6 @@ it manually</p>
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<p>On FreeBSD or OpenBSD:</p>
@ -216,8 +214,6 @@ perl -pi -e 's#PH_CMD_ALTERMIME#/usr/bin/altermime#g' mlmmj-amime-receive
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/mlmmj/mlmmj-amime-receive
chown mlmmj:mlmmj mlmmj-amime-receive
chmod 0550 mlmmj-amime-receive
perl -pi -e 's#PH_CMD_MLMMJ_RECEIVE#/usr/local/bin/mlmmj-receive#g' mlmmj-amime-receive
perl -pi -e 's#PH_CMD_ALTERMIME#/usr/local/bin/altermime#g' mlmmj-amime-receive
</code></pre>
<h2 id="amavisd-integration">Amavisd Integration</h2>
@ -268,15 +264,15 @@ fully integrated.</p>
extract downloaded package to <code>/opt/</code> directory, and create a symbol link:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>We use version <code>1.5</code> for example below.</p>
<p>We use version <code>1.6</code> for example below.</p>
</div>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.5.tar.gz
tar zxf 1.5.tar.gz -C /opt
rm -f 1.5.tar.gz
ln -s /opt/mlmmjadmin-1.5 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/1.6.tar.gz
tar zxf 1.6.tar.gz -C /opt
rm -f 1.6.tar.gz
ln -s /opt/mlmmjadmin-1.6 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -63,6 +63,7 @@ check <a href="https://www.iredmail.org/support.html">the details</a> and
<ul>
<li>Add new http headers</li>
<li>Fix openldap log file owner/group</li>
<li>Fix <code>mlmmj-amime-receive</code> and upgrade mlmmjadmin.</li>
</ul>
<h2 id="changelog">ChangeLog</h2>
<h2 id="general-all-backends-should-apply-these-steps">General (All backends should apply these steps)</h2>