<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: IPv6 support for qmail-jms1</title>
	<atom:link href="http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/</link>
	<description>Random thoughts on web applications, software development and Linux</description>
	<lastBuildDate>Wed, 11 Jan 2012 03:58:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dakon</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-7243</link>
		<dc:creator>Dakon</dc:creator>
		<pubDate>Thu, 24 Nov 2011 14:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-7243</guid>
		<description>Why not simply use Qsmtp which has IPv6 support out of the box? If you find some features missing there just drop me a note or patch.</description>
		<content:encoded><![CDATA[<p>Why not simply use Qsmtp which has IPv6 support out of the box? If you find some features missing there just drop me a note or patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-7241</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 11 Nov 2011 03:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-7241</guid>
		<description>Here is another critical patch to the patch, this will prevent a segfault when and failing mail deliveries when connecting to an ipv6 mapped ipv4 address: 

diff -Naur a/qmail-1.03-jms1.7.08-ipv6.patch b/qmail-1.03-jms1.7.08-ipv6.patch
--- a/qmail-1.03-jms1.7.08-ipv6.patch   2011-11-10 22:05:43.407427100 -0500
+++ b/qmail-1.03-jms1.7.08-ipv6.patch   2011-11-10 22:06:18.972461300 -0500
@@ -490,7 +490,7 @@
 +  for (j=0; jd,12,V4mappedprefix)) {
 +      byte_copy(ip4.d, 4, ip6-&gt;d+12);
-+      temp=ip_fmt(s,ip4);
++      temp=ip_fmt(s,&amp;ip4);
 +      len+=temp;
 +      s+=temp;
 +      break;</description>
		<content:encoded><![CDATA[<p>Here is another critical patch to the patch, this will prevent a segfault when and failing mail deliveries when connecting to an ipv6 mapped ipv4 address: </p>
<p>diff -Naur a/qmail-1.03-jms1.7.08-ipv6.patch b/qmail-1.03-jms1.7.08-ipv6.patch<br />
&#8212; a/qmail-1.03-jms1.7.08-ipv6.patch   2011-11-10 22:05:43.407427100 -0500<br />
+++ b/qmail-1.03-jms1.7.08-ipv6.patch   2011-11-10 22:06:18.972461300 -0500<br />
@@ -490,7 +490,7 @@<br />
 +  for (j=0; jd,12,V4mappedprefix)) {<br />
 +      byte_copy(ip4.d, 4, ip6-&gt;d+12);<br />
-+      temp=ip_fmt(s,ip4);<br />
++      temp=ip_fmt(s,&amp;ip4);<br />
 +      len+=temp;<br />
 +      s+=temp;<br />
 +      break;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-7198</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 29 Sep 2010 02:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-7198</guid>
		<description>&lt;a href=&quot;#comment-5374&quot; rel=&quot;nofollow&quot;&gt;@qmail admin&lt;/a&gt; 

Here&#039;s a patch to the patch that should fix the qmail-remote dying problem, when using bindroutes.  It looks like it was just a bug in the patch.

--- qmail-1.03-jms1.7.08-ipv6.patch     2009-03-20 12:33:50.000000000 -0400
+++ qmail-1.03-jms1.7.08-ipv6.patch-new 2010-09-28 22:32:56.000000000 -0400
@@ -1811,11 +1811,11 @@
 -  iplen = ip_fmt(ipstr,ip); /* Well, Dan seems to trust its output! */
 +#ifdef INET6
 +  if (ix-&gt;af == AF_INET)
-+     iplen = ip_fmt(ipstr,ix-&gt;addr.ip);
++     iplen = ip_fmt(ipstr,&amp;ix-&gt;addr.ip);
 +  else
-+     iplen = ip6_fmt(ipstr,ix-&gt;addr.ip6);
++     iplen = ip6_fmt(ipstr,&amp;ix-&gt;addr.ip6);
 +#else
-+  iplen = ip_fmt(ipstr,ix-&gt;addr.ip); /* Well, Dan seems to trust its output! */
++  iplen = ip_fmt(ipstr,&amp;ix-&gt;addr.ip); /* Well, Dan seems to trust its output! */
 +#endif

    bindroute = constmap(&amp;bindroutes,ipstr,iplen);</description>
		<content:encoded><![CDATA[<p><a href="#comment-5374" rel="nofollow">@qmail admin</a> </p>
<p>Here&#8217;s a patch to the patch that should fix the qmail-remote dying problem, when using bindroutes.  It looks like it was just a bug in the patch.</p>
<p>&#8212; qmail-1.03-jms1.7.08-ipv6.patch     2009-03-20 12:33:50.000000000 -0400<br />
+++ qmail-1.03-jms1.7.08-ipv6.patch-new 2010-09-28 22:32:56.000000000 -0400<br />
@@ -1811,11 +1811,11 @@<br />
 &#8211;  iplen = ip_fmt(ipstr,ip); /* Well, Dan seems to trust its output! */<br />
 +#ifdef INET6<br />
 +  if (ix-&gt;af == AF_INET)<br />
-+     iplen = ip_fmt(ipstr,ix-&gt;addr.ip);<br />
++     iplen = ip_fmt(ipstr,&amp;ix-&gt;addr.ip);<br />
 +  else<br />
-+     iplen = ip6_fmt(ipstr,ix-&gt;addr.ip6);<br />
++     iplen = ip6_fmt(ipstr,&amp;ix-&gt;addr.ip6);<br />
 +#else<br />
-+  iplen = ip_fmt(ipstr,ix-&gt;addr.ip); /* Well, Dan seems to trust its output! */<br />
++  iplen = ip_fmt(ipstr,&amp;ix-&gt;addr.ip); /* Well, Dan seems to trust its output! */<br />
 +#endif</p>
<p>    bindroute = constmap(&amp;bindroutes,ipstr,iplen);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido De Vita</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-7195</link>
		<dc:creator>Guido De Vita</dc:creator>
		<pubDate>Fri, 24 Sep 2010 20:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-7195</guid>
		<description>Check qmailboulders for extended information about installing qmail with ipv6 support. Has some cool extra info also ;)</description>
		<content:encoded><![CDATA[<p>Check qmailboulders for extended information about installing qmail with ipv6 support. Has some cool extra info also <img src='http://www.brandonturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Social Media Traffic Generation</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-7182</link>
		<dc:creator>The Social Media Traffic Generation</dc:creator>
		<pubDate>Sat, 31 Jul 2010 00:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-7182</guid>
		<description>&lt;strong&gt;Could the IP Address Shortage Break the Internet?...&lt;/strong&gt;

According to recent writings on IP address scarcity, the internet is growing FAST.  So quickly in fact that we could exceed the number of currently available internet protocol addresses before the year is out.  Under the current system as of now there ...</description>
		<content:encoded><![CDATA[<p><strong>Could the IP Address Shortage Break the Internet?&#8230;</strong></p>
<p>According to recent writings on IP address scarcity, the internet is growing FAST.  So quickly in fact that we could exceed the number of currently available internet protocol addresses before the year is out.  Under the current system as of now there &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmail admin</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-5374</link>
		<dc:creator>qmail admin</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-5374</guid>
		<description>Thanks, currently if you specify anything in control/bindroutes, qmail-remote is dying.</description>
		<content:encoded><![CDATA[<p>Thanks, currently if you specify anything in control/bindroutes, qmail-remote is dying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-5170</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Wed, 06 Jan 2010 03:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-5170</guid>
		<description>&lt;a href=&quot;#comment-5005&quot; rel=&quot;nofollow&quot;&gt;@qmail admin&lt;/a&gt; 
Great question.  Looks like I missed this functionality.  I&#039;m not sure when I&#039;ll have time to work on this, but I&#039;ll try to get to it soon.</description>
		<content:encoded><![CDATA[<p><a href="#comment-5005" rel="nofollow">@qmail admin</a><br />
Great question.  Looks like I missed this functionality.  I&#8217;m not sure when I&#8217;ll have time to work on this, but I&#8217;ll try to get to it soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmail admin</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-5005</link>
		<dc:creator>qmail admin</dc:creator>
		<pubDate>Sat, 02 Jan 2010 13:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-5005</guid>
		<description>i have a question - how can i using this patch tell qmail-remote which IP address from a local pool use to deliver for ipv4 and which for ipv6? i mean control/bindroutes file, currently i use:

:127.18.11.22

but when qmail will be ipv6 friendly, how to provide ipv6 address as well?</description>
		<content:encoded><![CDATA[<p>i have a question &#8211; how can i using this patch tell qmail-remote which IP address from a local pool use to deliver for ipv4 and which for ipv6? i mean control/bindroutes file, currently i use:</p>
<p>:127.18.11.22</p>
<p>but when qmail will be ipv6 friendly, how to provide ipv6 address as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmail admin</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-4971</link>
		<dc:creator>qmail admin</dc:creator>
		<pubDate>Fri, 01 Jan 2010 13:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-4971</guid>
		<description>very useful, thanks!</description>
		<content:encoded><![CDATA[<p>very useful, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BenV</title>
		<link>http://www.brandonturner.net/blog/2009/08/qmail-ipv6-jms1/comment-page-1/#comment-2765</link>
		<dc:creator>BenV</dc:creator>
		<pubDate>Tue, 06 Oct 2009 13:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=462#comment-2765</guid>
		<description>Thanks for the patch, works great :)</description>
		<content:encoded><![CDATA[<p>Thanks for the patch, works great <img src='http://www.brandonturner.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

