68 lines
4 KiB
HTML
68 lines
4 KiB
HTML
<!DOCTYPE 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;"
|
|
/>
|
|
<span>iRedMail</span>
|
|
</a>
|
|
// <a href="./index.html">Document Index</a></div><div class="admonition note">
|
|
<p class="admonition-title">This tutorial is available in other languages</p>
|
|
<p><a href="./performance.tuning-it_IT.html">Italiano</a> / <a href="./performance.tuning-lv_LV.html">Latvian</a> / <a href="./performance.tuning-zh_CN.html">简体中文</a> /</p>
|
|
</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><div class="footer">
|
|
<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. You can <a href="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
|
</div>
|
|
<script type="text/javascript">
|
|
(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> |