<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — [FAQ] iRedMail opens which network service ports]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic209.xml" />
	<updated>2009-08-30T00:23:45Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic209-faq-iredmail-opens-which-network-service-ports.html</id>
		<entry>
			<title type="html"><![CDATA[[FAQ] iRedMail opens which network service ports]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post1002.html#p1002" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-08-30T00:23:45Z</updated>
			<id>http://www.iredmail.org/forum/post1002.html#p1002</id>
		</entry>
</feed>
