Typo in upgrade/0-upgrade.iredapd.md.

This commit is contained in:
Zhang Huangbin 2015-07-01 22:27:11 +08:00
parent ecd511eb02
commit fc9d51fd7e
2 changed files with 8 additions and 55 deletions

View File

@ -24,13 +24,13 @@ to the latest stable release. It's applicable on all Linux/BSD distributions
supported by iRedMail.</p>
<ul>
<li>Download the latest stable release here: <a href="http://www.iredmail.org/yum/misc/">http://www.iredmail.org/yum/misc/</a>
For example, iRedAPD-1.4.4.tar.bz2.</li>
<li>Upload it to your iRedMail server. Assume it's <code>/root/iRedAPD-1.4.4.tar.bz2</code>.</li>
For example, iRedAPD-1.6.0.tar.bz2.</li>
<li>Upload it to your iRedMail server. Assume it's <code>/root/iRedAPD-1.6.0.tar.bz2</code>.</li>
<li>Extract downloaded package and execute upgrade script:</li>
</ul>
<pre><code># cd /root
# tar xjf iRedAPD-1.4.4.tar.bz2
# cd iRedAPD-1.4.4/tools/
# tar xjf iRedAPD-1.6.0.tar.bz2
# cd iRedAPD-1.6.0/tools/
# bash upgrade_iredapd.sh
</code></pre>
@ -43,33 +43,9 @@ supported by iRedMail.</p>
newer releases to prevent authenticated user sending spam as null sender.</p>
</li>
<li>
<p>Plugin <code>amavisd_wblist</code> and <code>amavisd_message_size_limit</code> requires access
to Amavisd SQL database, if you're upgrading iRedAPD from iRedAPD-1.4.3
or older releases, don't forget to copy <code>amavisd_db_*</code> settings from
sample config file and set correct values:</p>
</li>
</ul>
<pre><code># For Amavisd policy lookup and white/blacklists.
amavisd_db_server = '127.0.0.1'
amavisd_db_port = '3306'
amavisd_db_name = 'amavisd'
amavisd_db_user = 'amavisd'
amavisd_db_password = 'password'
</code></pre>
<ul>
<li>
<p>Plugin <code>amavisd_wblist</code> is required if you manage white/blacklists with
iRedAdmin-Pro.</p>
</li>
<li>
<p>Since version 1.4.4, iRedAPD supports other Postfix smtp protocol states,
e.g. <code>END-OF-MESSAGE</code>, so you can enable iRedAPD in Postfix setting
<code>smtpd_end_of_data_restrictions</code> like below:</p>
<p><code>smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, ...</code></p>
<p>Currently, only plugin <code>amavisd_message_size_limit</code> works in <code>END-OF-MESSAGE</code>
state, other plugins work in <code>RCPT</code> state.</p>
</li>
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -15,14 +15,14 @@ to the latest stable release. It's applicable on all Linux/BSD distributions
supported by iRedMail.
* Download the latest stable release here: [http://www.iredmail.org/yum/misc/](http://www.iredmail.org/yum/misc/)
For example, iRedAPD-1.4.4.tar.bz2.
* Upload it to your iRedMail server. Assume it's `/root/iRedAPD-1.4.4.tar.bz2`.
For example, iRedAPD-1.6.0.tar.bz2.
* Upload it to your iRedMail server. Assume it's `/root/iRedAPD-1.6.0.tar.bz2`.
* Extract downloaded package and execute upgrade script:
```
# cd /root
# tar xjf iRedAPD-1.4.4.tar.bz2
# cd iRedAPD-1.4.4/tools/
# tar xjf iRedAPD-1.6.0.tar.bz2
# cd iRedAPD-1.6.0/tools/
# bash upgrade_iredapd.sh
```
@ -35,28 +35,5 @@ Important notes:
* It's recommended to enable plugin `reject_null_sender` in iRedAPD-1.4.4 or
newer releases to prevent authenticated user sending spam as null sender.
* Plugin `amavisd_wblist` and `amavisd_message_size_limit` requires access
to Amavisd SQL database, if you're upgrading iRedAPD from iRedAPD-1.4.3
or older releases, don't forget to copy `amavisd_db_*` settings from
sample config file and set correct values:
```
# For Amavisd policy lookup and white/blacklists.
amavisd_db_server = '127.0.0.1'
amavisd_db_port = '3306'
amavisd_db_name = 'amavisd'
amavisd_db_user = 'amavisd'
amavisd_db_password = 'password'
```
* Plugin `amavisd_wblist` is required if you manage white/blacklists with
iRedAdmin-Pro.
* Since version 1.4.4, iRedAPD supports other Postfix smtp protocol states,
e.g. `END-OF-MESSAGE`, so you can enable iRedAPD in Postfix setting
`smtpd_end_of_data_restrictions` like below:
```smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777, ...```
Currently, only plugin `amavisd_message_size_limit` works in `END-OF-MESSAGE`
state, other plugins work in `RCPT` state.