2016-05-19 06:51:20 -05:00
<!DOCTYPE html>
2015-07-07 08:09:17 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > Enable postscreen service< / title >
2015-07-31 23:14:52 -05:00
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
2015-07-07 08:09:17 -05:00
< / head >
< body >
< div id = "navigation" >
2016-04-19 12:48:51 -05:00
< 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 >
2016-02-29 02:15:19 -06:00
// < 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 >
2015-07-07 08:09:17 -05:00
< 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 >
2015-07-07 08:09:17 -05:00
< 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 >
2015-07-07 08:09:17 -05:00
< 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 >
2015-07-07 08:09:17 -05:00
< 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 >
2016-05-19 06:51:20 -05:00
< / 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" >
2015-07-07 08:09:17 -05:00
(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 >