iredmail-doc/html/enable.postscreen.html

68 lines
3.5 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Enable postscreen service</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>
2016-02-29 02:15:19 -06:00
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="enable-postscreen-service">Enable postscreen service</h1>
2015-07-07 08:15:23 -05:00
<div class="toc">
<ul>
<li><a href="#enable-postscreen-service">Enable postscreen service</a><ul>
<li><a href="#enable-postscreen-service_1">Enable postscreen service</a></li>
<li><a href="#see-also">See Also</a></li>
<li><a href="#references">References</a></li>
</ul>
</li>
</ul>
</div>
<p><strong>WARNING</strong>: With postscreen service enabled, your users must use port 587 to
send email, port 25 will be used by postscreen service instead of normal smtp
service.</p>
2015-07-07 08:15:23 -05:00
<h2 id="enable-postscreen-service_1">Enable postscreen service</h2>
<p>iRedMail ships a script to enable postscreen. You can enable it with steps below:</p>
2015-07-07 08:15:23 -05:00
<ol>
<li>Download script <code>enable_postscreen.sh</code> from <a href="https://bitbucket.org/zhb/iredmail/src/default/iRedMail/tools/?at=default">iRedMail source code
repository</a></li>
<li>Upload this script to your iRedMail server, then execute it to enable
postscreen service:</li>
</ol>
<pre><code># bash enable_postscreen.sh
</code></pre>
2015-07-07 08:15:23 -05:00
<p>That's all.</p>
<p>Important notes:</p>
<ul>
<li>It will backup <code>/etc/postfix/main.cf</code> and <code>/etc/postfix/master.cf</code> first,
if postscreen doesn't work, you can restore these 2 files.</li>
<li>It uses several DNSBL servers by default, you'd better open
<code>/etc/postfix/main.cf</code> (Linux/OpenBSD) or <code>/usr/local/etc/postfix/main.cf</code>
(FreeBSD) to check the DNSBL servers it enabled, you're free to remove some
of them (or add new ones) if you want.</li>
</ul>
<h2 id="see-also">See Also</h2>
<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, but less effective than postscreen service.</p>
<h2 id="references">References</h2>
<ul>
<li><a href="http://www.postfix.org/POSTSCREEN_README.html">Postfix Postscreen Howto</a></li>
<li><a href="http://www.postfix.org/postscreen.8.html">Postfix manual page: postscreen(8)</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. 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.<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>