<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — enabling ipv6 for your iredmail (Postfix/Dovecot)]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic1968.xml" />
	<updated>2013-05-19T13:06:10Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic1968-enabling-ipv6-for-your-iredmail-postfixdovecot.html</id>
		<entry>
			<title type="html"><![CDATA[Re: enabling ipv6 for your iredmail (Postfix/Dovecot)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post22129.html#p22129" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jochie wrote:</cite><blockquote><p><em><strong>sudo vim /etc/postfix/main.cf</strong></em></p><p>look for the following line:<br /></p><div class="codebox"><pre><code>inet_protocols = </code></pre></div><p>check if ipv6 is enabled<br />if needed, change the line to : <br /></p><div class="codebox"><pre><code> inet_protocols = ipv4, ipv6 </code></pre></div></blockquote></div><p>Alternatively, you can set inet_protocols to all:</p><div class="codebox"><pre><code>inet_protocols = all</code></pre></div><p>Which will enable both IPv4 and IPv6. It will also make Postfix to automatically listen to all IPv6 addresses that are set to the system, so smtp_bind_address6 is only needed if you wish to restrict Postfix into certain addresses.</p>]]></content>
			<author>
				<name><![CDATA[Unksi]]></name>
				<uri>http://www.iredmail.org/forum/user33139.html</uri>
			</author>
			<updated>2013-05-19T13:06:10Z</updated>
			<id>http://www.iredmail.org/forum/post22129.html#p22129</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[enabling ipv6 for your iredmail (Postfix/Dovecot)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post9303.html#p9303" />
			<content type="html"><![CDATA[<p>Hi All,</p><p>I am using ipv6 for my mailservers and i thought i would share it.<br />Please note i have used public ipv6 ip : <strong>ef80:dead::3/64 </strong> for my explaination. Please use your own ipv6 ;-)</p><p>First of all you need to have ipv6 enabled on your server. If not, contact your reseller/ISP to ask for an ipv6 block.<br />you may check this by typing the following in the command line :</p><p><em><strong>ifconfig | grep Scope:Global</strong></em><br /></p><div class="codebox"><pre><code>user@mailserver:~$ ifconfig | grep Scope:Global
          inet6 addr: ef80:dead::3/64 Scope:Global</code></pre></div><p>In the example you can see <strong>ef80:dead::3/64</strong> is the configured ipv6 on the server, so you can use the ip shown in your output.</p><ul><li><p>Postfix</p></li></ul><p>next, open the file : /etc/postfix/main.cf with your fevorite editor.</p><p><em><strong>sudo vim /etc/postfix/main.cf</strong></em></p><p>look for the following line:<br /></p><div class="codebox"><pre><code>inet_protocols = </code></pre></div><p>check if ipv6 is enabled<br />if needed, change the line to : <br /></p><div class="codebox"><pre><code> inet_protocols = ipv4, ipv6 </code></pre></div><p>next, look for the line:<br /></p><div class="codebox"><pre><code>smtp_bind_address6 =</code></pre></div><p>If not found, add this line :<br /></p><div class="codebox"><pre><code>smtp_bind_address6 =ef80:dead::3</code></pre></div><p>Whenever you make a change to the main.cf, execute the following command as root in order to refresh a running mail system:</p><p><em><strong>sudo postfix reload</strong></em></p><br /><ul><li><p>Dovecot</p></li></ul><p>open the file : /etc/dovecot/dovecot.conf with your fevorite editor.</p><p><em><strong>sudo vim /etc/dovecot/dovecot.conf</strong></em></p><p>look for the following line:<br /></p><div class="codebox"><pre><code>listen = </code></pre></div><p>and add your ipv6 to it :<br /></p><div class="codebox"><pre><code>listen = 127.0.0.1,208.67.222.222, [ef80:dead::3] </code></pre></div><p>Where as 208.67.222.222 would be your own external ipv4.</p><p>next, restart dovecot.</p><p><em><strong>sudo /etc/init.d/dovecot restart</strong></em></p><p>And your set.</p><p>Check your syslog to see if all went okay.</p><p>Enjoy,</p><p>Jochie</p>]]></content>
			<author>
				<name><![CDATA[Jochie]]></name>
				<uri>http://www.iredmail.org/forum/user6232.html</uri>
			</author>
			<updated>2011-05-07T09:22:37Z</updated>
			<id>http://www.iredmail.org/forum/post9303.html#p9303</id>
		</entry>
</feed>
