78 lines
3.3 KiB
HTML
78 lines
3.3 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>Upgrade iRedAPD</title>
|
|
<link href="./css/markdown.css" rel="stylesheet"></head>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="navigation">
|
|
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
|
|
|
|
// <a href="./index.html">Document Index</a>
|
|
</div><h1 id="upgrade-iredapd">Upgrade iRedAPD</h1>
|
|
<blockquote>
|
|
<p>iRedAPD source code is hosted on <a href="https://bitbucket.org/zhb/iredapd/">BitBucket</a>.</p>
|
|
<p>Release Notes are available here: <a href="./iredapd.releases.html">iRedAPD Release Notes</a>.</p>
|
|
</blockquote>
|
|
<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.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>
|
|
<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/
|
|
# bash upgrade_iredapd.sh
|
|
</code></pre>
|
|
|
|
<p>That's all.</p>
|
|
<hr />
|
|
<p>Important notes:</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>
|
|
</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
|
|
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),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-3293801-21', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</body></html> |