Remove some unnecessary info.

This commit is contained in:
Zhang Huangbin 2015-12-10 14:35:32 +08:00
parent 008c7b87de
commit 21b8acac6a
4 changed files with 27 additions and 178 deletions

View File

@ -12,10 +12,15 @@ This tutorial describes how to upgrade iRedAPD from `1.4.0` or later releases
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.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:
1. Download the latest stable release here: <http://www.iredmail.org/yum/misc/>.
For example, iRedAPD-1.6.0.tar.bz2.
1. Upload it to your iRedMail server. Assume it's `/root/iRedAPD-1.6.0.tar.bz2`.
1. Extract downloaded package and execute upgrade script:
> Note: If you're running iRedMail with OpenLDAP or MySQL/MariaDB backend,
> upgrading from iRedAPD-1.6.0 or earlier releases to the latest iRedAPD-1.7.0
> requires MySQL root username and password, please get them before you run
> upgrade script.
```
# cd /root
@ -31,11 +36,7 @@ That's all.
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.
later releases to prevent authenticated user sending spam as null sender.
* Plugin `amavisd_wblist` is required if you manage white/blacklists with
iRedAdmin-Pro.
# See Also
* iRedAPD source code is hosted on [BitBucket](https://bitbucket.org/zhb/iredapd/).

View File

@ -5,7 +5,7 @@
> Download the [latest iRedAPD stable release](https://bitbucket.org/zhb/iredapd/downloads).
> If you want to develop your own plugin for iRedAPD, please read document
> [README_PLUGINS.md](https://bitbucket.org/zhb/iredapd/src/default/README_PLUGINS.md?at=default) in iRedAPD source code.
> [README_PLUGINS.md](https://bitbucket.org/zhb/iredapd/src/default/README_PLUGINS.md) in iRedAPD source code.
## Upgrade iRedAPD
@ -13,69 +13,5 @@
## ChangeLog
### 1.6.0
* New setting: `MYNETWORKS`. used to set trusted or internal networks.
* Plugin `ldap_domain_wblist` was removed, we didn't use it at all.
* Fixed issues:
* plugin/ldap_maillist_access_policy.py: not use correct ldap
connection cursor. this causes access policy not work.
* plugin/reject_sender_login_mismatch.py: Not return correct value for
allowed senders.
* Not correctly fetch SQL query result with SQLAlchemy.
* Doesn't work with PostgreSQL backend.
* iRedAPD daemon exits with error (9, 'Bad file descriptor').
### 1.5.0
* Improvements:
* Use sql connection pool provided by SQLAlchemy for better performance.
* Log reject and other non-DUNNO actions in iredadmin database (`log_action_in_db = True`).
* Plugin `amavisd_wblist`: able to use `user@*` as white/blacklist sender.
* Plugin `sql_alias_access_policy` and `ldap_maillist_access_policy`:
able to use `*@domain.com` (all senders from `domain.com`) as
moderator.
* Plugin `reject_sender_login_mismatch`:
* New optional setting `ALLOWED_LOGIN_MISMATCH_LIST_MEMBER`, used to
allow member of mail list/alias to send as mail list/alias.
Default is False.
* Setting `ALLOWED_LOGIN_MISMATCH_SENDERS` is now optional.
* Log smtp protocol state in log file (`RCPT`, `END-OF-MESSAGE`).
* Fixed issues:
* Plugin `amavisd_message_size_limit`: just use the first valid
policy (with highest priority) and skip rest.
* Plugin `reject_sender_login_mismatch`: not reject email if sender
is forged address (sender domain is hosted locally).
* Not close sql connection explicitly.
### 1.4.5
* Improvements:
* Log non-DUNNO actions in iredadmin database (with setting
`log_action_in_db = True` in iRedAPD config file).
* plugin/amavisd_wblist.py: able to use `user@*` as white/blacklist sender.
* plugin/sql_alias_access_policy.py, plugin/ldap_maillist_access_policy:
able to use `*@domain.com` (all senders from `domain.com`) as moderator.
* plugin/reject_sender_login_mismatch.py:
* New optional setting `ALLOWED_LOGIN_MISMATCH_LIST_MEMBER`, used to
allow member of mail list/alias to send as mail list/alias.
Default is False.
* Setting `ALLOWED_LOGIN_MISMATCH_SENDERS` is now optional.
* Log smtp protocol state in log file.
* Fixed issues:
* plugin/amavisd_message_size_limit.py: just use the first valid
policy (with highest priority) and skip rest.
* plugin/reject_sender_login_mismatch.py: not reject email if sender
is forged address (sender domain is hosted locally).
* Not close sql connection explicitly.
Please check [ChangeLog](https://bitbucket.org/zhb/iredapd/src/default/ChangeLog)
file in iRedAPD source code to check full, detailed changes in each release.

View File

@ -15,103 +15,13 @@
<p>iRedAPD source code is hosted on <a href="https://bitbucket.org/zhb/iredapd/">BitBucket</a>.</p>
<p>Download the <a href="https://bitbucket.org/zhb/iredapd/downloads">latest iRedAPD stable release</a>.</p>
<p>If you want to develop your own plugin for iRedAPD, please read document
<a href="https://bitbucket.org/zhb/iredapd/src/default/README_PLUGINS.md?at=default">README_PLUGINS.md</a> in iRedAPD source code.</p>
<a href="https://bitbucket.org/zhb/iredapd/src/default/README_PLUGINS.md">README_PLUGINS.md</a> in iRedAPD source code.</p>
</blockquote>
<h2 id="upgrade-iredapd">Upgrade iRedAPD</h2>
<p><a href="./upgrade.iredapd.html">How to upgrade iRedAPD-1.4.0 or later versions to the latest stable release</a></p>
<h2 id="changelog">ChangeLog</h2>
<h3 id="160">1.6.0</h3>
<ul>
<li>New setting: <code>MYNETWORKS</code>. used to set trusted or internal networks.</li>
<li>Plugin <code>ldap_domain_wblist</code> was removed, we didn't use it at all.</li>
<li>
<p>Fixed issues:</p>
<ul>
<li>plugin/ldap_maillist_access_policy.py: not use correct ldap
connection cursor. this causes access policy not work.</li>
<li>plugin/reject_sender_login_mismatch.py: Not return correct value for
allowed senders.</li>
<li>Not correctly fetch SQL query result with SQLAlchemy.</li>
<li>Doesn't work with PostgreSQL backend.</li>
<li>iRedAPD daemon exits with error (9, 'Bad file descriptor').</li>
</ul>
</li>
</ul>
<h3 id="150">1.5.0</h3>
<ul>
<li>
<p>Improvements:</p>
<ul>
<li>Use sql connection pool provided by SQLAlchemy for better performance.</li>
<li>Log reject and other non-DUNNO actions in iredadmin database (<code>log_action_in_db = True</code>).</li>
<li>Plugin <code>amavisd_wblist</code>: able to use <code>user@*</code> as white/blacklist sender.</li>
<li>Plugin <code>sql_alias_access_policy</code> and <code>ldap_maillist_access_policy</code>:
able to use <code>*@domain.com</code> (all senders from <code>domain.com</code>) as
moderator.</li>
<li>
<p>Plugin <code>reject_sender_login_mismatch</code>:</p>
<ul>
<li>New optional setting <code>ALLOWED_LOGIN_MISMATCH_LIST_MEMBER</code>, used to
allow member of mail list/alias to send as mail list/alias.
Default is False.</li>
<li>Setting <code>ALLOWED_LOGIN_MISMATCH_SENDERS</code> is now optional.</li>
</ul>
</li>
<li>
<p>Log smtp protocol state in log file (<code>RCPT</code>, <code>END-OF-MESSAGE</code>).</p>
</li>
</ul>
</li>
<li>
<p>Fixed issues:</p>
<ul>
<li>Plugin <code>amavisd_message_size_limit</code>: just use the first valid
policy (with highest priority) and skip rest.</li>
<li>Plugin <code>reject_sender_login_mismatch</code>: not reject email if sender
is forged address (sender domain is hosted locally).</li>
<li>Not close sql connection explicitly.</li>
</ul>
</li>
</ul>
<h3 id="145">1.4.5</h3>
<ul>
<li>
<p>Improvements:</p>
<ul>
<li>Log non-DUNNO actions in iredadmin database (with setting
<code>log_action_in_db = True</code> in iRedAPD config file).</li>
<li>plugin/amavisd_wblist.py: able to use <code>user@*</code> as white/blacklist sender.</li>
<li>plugin/sql_alias_access_policy.py, plugin/ldap_maillist_access_policy:
able to use <code>*@domain.com</code> (all senders from <code>domain.com</code>) as moderator.</li>
<li>
<p>plugin/reject_sender_login_mismatch.py:</p>
<ul>
<li>
<p>New optional setting <code>ALLOWED_LOGIN_MISMATCH_LIST_MEMBER</code>, used to
allow member of mail list/alias to send as mail list/alias.
Default is False.</p>
</li>
<li>
<p>Setting <code>ALLOWED_LOGIN_MISMATCH_SENDERS</code> is now optional.</p>
</li>
</ul>
</li>
<li>
<p>Log smtp protocol state in log file.</p>
</li>
</ul>
</li>
<li>
<p>Fixed issues:</p>
<ul>
<li>plugin/amavisd_message_size_limit.py: just use the first valid
policy (with highest priority) and skip rest.</li>
<li>plugin/reject_sender_login_mismatch.py: not reject email if sender
is forged address (sender domain is hosted locally).</li>
<li>Not close sql connection explicitly.</li>
</ul>
</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>
<p>Please check <a href="https://bitbucket.org/zhb/iredapd/src/default/ChangeLog">ChangeLog</a>
file in iRedAPD source code to check full, detailed changes in each release.</p><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),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

View File

@ -21,12 +21,18 @@ iRedAPD, please check this tutorial instead:
<p>This tutorial describes how to upgrade iRedAPD from <code>1.4.0</code> or later releases
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.6.0.tar.bz2.</li>
<ol>
<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.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>
</ol>
<blockquote>
<p>Note: If you're running iRedMail with OpenLDAP or MySQL/MariaDB backend,
upgrading from iRedAPD-1.6.0 or earlier releases to the latest iRedAPD-1.7.0
requires MySQL root username and password, please get them before you run
upgrade script.</p>
</blockquote>
<pre><code># cd /root
# tar xjf iRedAPD-1.6.0.tar.bz2
# cd iRedAPD-1.6.0/tools/
@ -39,16 +45,12 @@ supported by iRedMail.</p>
<ul>
<li>
<p>It's recommended to enable plugin <code>reject_null_sender</code> in iRedAPD-1.4.4 or
newer releases to prevent authenticated user sending spam as null sender.</p>
later releases to prevent authenticated user sending spam as null sender.</p>
</li>
<li>
<p>Plugin <code>amavisd_wblist</code> is required if you manage white/blacklists with
iRedAdmin-Pro.</p>
</li>
</ul>
<h1 id="see-also">See Also</h1>
<ul>
<li>iRedAPD source code is hosted on <a href="https://bitbucket.org/zhb/iredapd/">BitBucket</a>.</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),