<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — [FAQ] iRedMail opens which network service ports]]></title>
		<link>http://www.iredmail.org/forum/topic209-faq-iredmail-opens-which-network-service-ports.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic209.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [FAQ] iRedMail opens which network service ports.]]></description>
		<lastBuildDate>Sun, 30 Aug 2009 00:23:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[FAQ] iRedMail opens which network service ports]]></title>
			<link>http://www.iredmail.org/forum/post1002.html#p1002</link>
			<description><![CDATA[<p>Mail service is complex and required many network service ports, below are network service ports which opened by iRedMail by default:</p><h5>Ports list:</h5><ul><li><p>Apache (Web server)<br /></p><ul><li><p>80: normal web service port</p></li><li><p>443: HTTPS (http over SSL)</p></li></ul></li><li><p>Postfix<br /></p><ul><li><p>25: normal SMTP</p></li><li><p>587: Submission, SMTP over SSL.</p></li></ul></li><li><p>MySQL<br /></p><ul><li><p>3306: default listen port. (Refuse connections from external network in iptables be default)</p></li></ul></li><li><p>OpenLDAP<br /></p><ul><li><p>389: normal LDAP port. (Refuse connections from external network in iptables be default)</p></li><li><p>636: LDAP over SSL. (Refuse connections from external network in iptables be default)</p></li></ul></li><li><p>Dovecot<br /></p><ul><li><p>110: POP3 service</p></li><li><p>995: POP3S (Secure POP3 over SSL)</p></li><li><p>143: IMAP service</p></li><li><p>993: IMAPS (Secure IMAP over SSL)</p></li><li><p>2000: managesieve service. (Refuse connections from external network in iptables be default)</p></li></ul></li><li><p>Policyd (Postfix policy server)<br /></p><ul><li><p>10031: default listen port. (Refuse connections from external network in iptables be default)</p></li></ul></li><li><p>Amavisd-new<br /></p><ul><li><p>127.0.0.1:10024</p></li><li><p>127.0.0.1:10025</p></li></ul></li></ul><h5>How to enable network ports you want?</h5><p>You can edit /etc/sysconfig/iptables (RHEL/CentOS) or /etc/default/iptables (Debian/Ubuntu), add the ports you want to open in it, such as:<br /></p><div class="codebox"><pre><code>#-A INPUT -p tcp -m multiport --dport 80,443,25,465,110,995,143,993,587,465,22 -j ACCEPT
-A INPUT -p tcp -m multiport --dport 80,443,25,465,110,995,143,993,587,465,22,10000 -j ACCEPT</code></pre></div><p>And then restart iptables service to make it work for you:<br /></p><div class="codebox"><pre><code># /etc/init.d/iptables restart</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 30 Aug 2009 00:23:45 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1002.html#p1002</guid>
		</item>
	</channel>
</rss>
