iredmail-doc/html/upgrade.iredapd.html

72 lines
3.4 KiB
HTML
Raw Normal View History

2014-12-16 00:58:27 -06:00
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Upgrade iRedAPD</title>
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
2014-12-16 00:58:27 -06:00
</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>
2015-04-19 03:45:21 -05:00
<p>Release Notes are available here: <a href="./iredapd.releases.html">iRedAPD Release Notes</a>.</p>
<p>If you're trying to upgrade iRedAPD-1.3.x or earlier releases to the latest
iRedAPD, please check this tutorial instead:
<a href="./upgrade.old.iredapd.html">Upgrade iRedAPD from v1.3.x or earlier versions to latest release</a>.</p>
<p>We offer remote upgrade service, check <a href="../support.html">the price</a> and <a href="../contact.html">contact us</a>.</p>
2014-12-16 00:58:27 -06:00
</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>
2015-12-10 00:35:32 -06:00
<ol>
<li>Download the latest stable release here: <a href="http://www.iredmail.org/yum/misc/">http://www.iredmail.org/yum/misc/</a>.
2015-12-14 06:49:37 -06:00
For example, iRedAPD-1.7.0.tar.bz2.</li>
<li>Upload it to your iRedMail server. Assume it's <code>/root/iRedAPD-1.7.0.tar.bz2</code>.</li>
2014-12-16 00:58:27 -06:00
<li>Extract downloaded package and execute upgrade script:</li>
2015-12-10 00:35:32 -06:00
</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>
2014-12-16 00:58:27 -06:00
<pre><code># cd /root
2015-12-14 06:49:37 -06:00
# tar xjf iRedAPD-1.7.0.tar.bz2
# cd iRedAPD-1.7.0/tools/
2014-12-16 00:58:27 -06:00
# bash upgrade_iredapd.sh
</code></pre>
<p>That's all.</p>
2015-04-19 03:45:21 -05:00
<hr />
<p>Important notes:</p>
<ul>
<li>iRedAPD-1.7.0 doesn't enable greylisting by default, please enable plugin
<code>greylisting</code> in iRedAPD config file (<code>/opt/iredapd/settings.py</code>), then
execute SQL command below to enable server-wide greylisting:</li>
</ul>
<pre><code>sql&gt; USE iredapd;
sql&gt; INSERT INTO greylisting (account, priority, sender, sender_priority, active) VALUES ('@.', 0, '@.', 0, 1);
</code></pre>
2014-12-16 00:58:27 -06:00
<ul>
<li>
<p>It's recommended to enable plugin <code>reject_null_sender</code> in iRedAPD-1.4.4 or
2015-12-10 00:35:32 -06:00
later releases to prevent authenticated user sending spam as null sender.</p>
2014-12-16 00:58:27 -06:00
</li>
<li>
2015-04-19 03:45:21 -05:00
<p>Plugin <code>amavisd_wblist</code> is required if you manage white/blacklists with
iRedAdmin-Pro.</p>
</li>
2015-12-13 23:04:21 -06:00
</ul><p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</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');
2014-12-16 00:58:27 -06:00
</script>
</body></html>