iredmail-doc/html/performance.tuning.html

66 lines
3.7 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Performance tuning</title>
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
</head>
<body>
<div id="navigation">
<a href="/index.html" target="_blank">
<img alt="iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>&nbsp;
<span>iRedMail</span>
</a>
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><div class="admonition note">
<p class="admonition-title">This tutorial is available in other languages</p>
<ul>
<li><a href="./performance.tuning-zh_CN.html">简体中文</a></li>
</ul>
</div>
<h1 id="performance-tuning">Performance tuning</h1>
<div class="toc">
<ul>
<li><a href="#performance-tuning">Performance tuning</a><ul>
<li><a href="#setup-a-dns-server-in-lan-or-localhost-to-cache-dns-queries">Setup a DNS server in LAN or localhost to cache DNS queries</a></li>
<li><a href="#enable-postscreen-service-to-help-reduce-spam">Enable postscreen service to help reduce spam</a></li>
<li><a href="#update-amavisd-postfix-config-files-to-process-more-emails-concurrently">Update Amavisd + Postfix config files to process more emails concurrently</a></li>
</ul>
</li>
</ul>
</div>
<p>If you're running a busy mail server (many inbound/outbound emails every day),
you can follow below suggestions for better performance.</p>
<h3 id="setup-a-dns-server-in-lan-or-localhost-to-cache-dns-queries">Setup a DNS server in LAN or localhost to cache DNS queries</h3>
<p>Mail services <strong>heavily</strong> rely on DNS service and perform many many DNS queries,
a cache DNS server in LAN or localhost helps <strong>A LOT</strong>:</p>
<ul>
<li>It speeds up DNS queries. This helps a lot.</li>
<li>It reduces DNS queries to DNSBL servers, so that you can continue using their
excellent service without exceeding the max query limit.</li>
</ul>
<h3 id="enable-postscreen-service-to-help-reduce-spam">Enable postscreen service to help reduce spam</h3>
<ul>
<li><a href="./enable.postscreen.html">Enable postscreen service</a></li>
</ul>
<p>If you don't want to use postscreen service, you can <a href="./enable.dnsbl.html">enable DNSBL service</a>
instead, it helps a lot too. Although both <code>postscreen</code> and pure DNSBL services
uses the same DNSBL servers, but <code>postscreen</code> offers additional solutions to
reduce spam, so postscreen is better.</p>
<p>postscreen and DNSBL service help catch a lot spam before putting the spams
in local mail queue, so they save much system resource.</p>
<h3 id="update-amavisd-postfix-config-files-to-process-more-emails-concurrently">Update Amavisd + Postfix config files to process more emails concurrently</h3>
<ul>
<li><a href="./concurrent.processing.html">Process more emails concurrently</a></li>
</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');
</script>
</body></html>