Sync package version numbers in upgrade tutorials.

This commit is contained in:
Zhang Huangbin 2021-08-13 09:52:04 +08:00
parent 5feb624e1e
commit d99bd00597
8 changed files with 34 additions and 34 deletions

View File

@ -240,17 +240,17 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `3.0.4` for example below.
We use version `3.1.2` for example below.
- `mlmmjadmin-3.x` and later releases requires Python 3.
- `mlmmjadmin-2.x` and older releases requires Python 2.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -255,17 +255,17 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `3.0.4` for example below.
We use version `3.1.2` for example below.
- `mlmmjadmin-3.x` and later releases requires Python 3.
- `mlmmjadmin-2.x` and older releases requires Python 2.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -256,17 +256,17 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
!!! attention
We use version `3.0.4` for example below.
We use version `3.1.2` for example below.
- `mlmmjadmin-3.x` and later releases requires Python 3.
- `mlmmjadmin-2.x` and older releases requires Python 2.
```
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -166,12 +166,12 @@ wget https://github.com/iredmail/iRedMail/raw/1.0/samples/fail2ban/filter.d/post
Debian/Ubuntu, it's `/var/log/mail.log`.
```
[postfix-pregreet-iredmail]
[postfix-pregreet]
enabled = true
filter = postfix-pregreet.iredmail
logpath = /var/log/maillog
maxretry = 1
action = iptables-multiport[name=postfix, port="25", protocol=tcp]
action = iptables-multiport[name=postfix-pregreet, port="25", protocol=tcp]
```
* Restarting Fail2ban service is required.

View File

@ -257,7 +257,7 @@ 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>3.0.4</code> for example below.</p>
<p>We use version <code>3.1.2</code> for example below.</p>
<ul>
<li><code>mlmmjadmin-3.x</code> and later releases requires Python 3.</li>
<li><code>mlmmjadmin-2.x</code> and older releases requires Python 2.</li>
@ -266,10 +266,10 @@ fully integrated.</p>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -272,7 +272,7 @@ 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>3.0.4</code> for example below.</p>
<p>We use version <code>3.1.2</code> for example below.</p>
<ul>
<li><code>mlmmjadmin-3.x</code> and later releases requires Python 3.</li>
<li><code>mlmmjadmin-2.x</code> and older releases requires Python 2.</li>
@ -281,10 +281,10 @@ fully integrated.</p>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -273,7 +273,7 @@ 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>3.0.4</code> for example below.</p>
<p>We use version <code>3.1.2</code> for example below.</p>
<ul>
<li><code>mlmmjadmin-3.x</code> and later releases requires Python 3.</li>
<li><code>mlmmjadmin-2.x</code> and older releases requires Python 2.</li>
@ -282,10 +282,10 @@ fully integrated.</p>
</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.0.4.tar.gz
tar zxf 3.0.4.tar.gz -C /opt
rm -f 3.0.4.tar.gz
ln -s /opt/mlmmjadmin-3.0.4 /opt/mlmmjadmin
wget https://github.com/iredmail/mlmmjadmin/archive/3.1.2.tar.gz
tar zxf 3.1.2.tar.gz -C /opt
rm -f 3.1.2.tar.gz
ln -s /opt/mlmmjadmin-3.1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -212,12 +212,12 @@ Debian/Ubuntu, it's <code>/var/log/mail.log</code>.</p>
</div>
</li>
</ul>
<pre><code>[postfix-pregreet-iredmail]
<pre><code>[postfix-pregreet]
enabled = true
filter = postfix-pregreet.iredmail
logpath = /var/log/maillog
maxretry = 1
action = iptables-multiport[name=postfix, port=&quot;25&quot;, protocol=tcp]
action = iptables-multiport[name=postfix-pregreet, port=&quot;25&quot;, protocol=tcp]
</code></pre>
<ul>