<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5468&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] postfix dynamic ipv6 interfaces]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5468</link>
		<description><![CDATA[The most recent posts in [SOLVED] postfix dynamic ipv6 interfaces.]]></description>
		<lastBuildDate>Sat, 14 Jan 2023 16:46:43 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] postfix dynamic ipv6 interfaces]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40238#p40238</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Do you have two NICs (eth0 and eth1)?</p></div></blockquote></div><p>Yes</p><div class="quotebox"><blockquote><div><p>use one of the &quot;Private internets&quot; ranges</p></div></blockquote></div><p>I take this as a solution, and will remove the portion which propagates the ipv6 range to the subnet <br />I felt, this was necessary, but is not in view of the existence of private subnets</p><p>I used this advice<br />https://subnettingpractice.com/how-to-subnet-ipv6.html</p><p>BTW the idea of having private ipv6 subnets is <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /> and contrary to the original Idea of worldwide ipv6 numbers.</p><p>Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sat, 14 Jan 2023 16:46:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40238#p40238</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] postfix dynamic ipv6 interfaces]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40188#p40188</link>
			<description><![CDATA[<p>I&#039;m still not understanding something here.<br />Do you have two NICs (eth0 and eth1)?<br />If eth1 = LAN as posted earlier, then set up a static IPv6 network there.&#160; <a href="https://en.wikipedia.org/wiki/Reserved_IP_addresses" rel="nofollow">https://en.wikipedia.org/wiki/Reserved_IP_addresses</a> use one of the &quot;Private internets&quot; ranges (64:ff9b:1::/48 for example).&#160; eth0 will receive whatever address is assigned when connecting to ISP.&#160; In your postfix conf, use the static address that you&#039;ve chosen for eth1.<br />(Note, I don&#039;t actually use IPv6, maybe someone with experience with this can chime in.)</p><p>You can do the same thing even if you only have one physical device, with a virtual interface (for example, <span class="bbc">ifconfig eth0:1 64:ff9b:1::1</span>).&#160; I do this with IPv4 addresses and postfix.</p><p>AFAIK, there&#039;s currently no other way to configure postfix for dynamic IP addresses, except for <span class="bbc">inet_interfaces = all</span>.&#160; I could be wrong there, but from skimming through <a href="http://www.postfix.org/postconf.5.html" rel="nofollow">http://www.postfix.org/postconf.5.html</a> I&#039;m not seeing it.</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Fri, 13 Jan 2023 17:58:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40188#p40188</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] postfix dynamic ipv6 interfaces]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40186#p40186</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>These statements appear to be contrary to each other.</p></div></blockquote></div><p>No contradiction within<br />the ISP provides a prefix range /56 or /64, of which a portion is assigned through propagation into the subnets behind. <br />e.g. when I unplug the WWW router and reconnect it, my subnet has new ipv6 numbers. </p><p>I still want postfix to listen only on the LAN and localhost for local messages. So postfix must know the actual IPv6 numbers of the LAN interface</p><div class="codebox"><pre><code>netstat -tulpen | egrep &quot;master|PID&quot; 
Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name    
tcp        0      0 127.0.0.1:465           0.0.0.0:*               LISTEN      0          6565139    20047/master        
tcp6       0      0 ::1:465                 :::*                    LISTEN      0          6565140    20047/master  </code></pre></div><p>on Ipv4 postfix listens only locally, on ipv6 postfix listens on all interfaces. <br />anyone knowing the ipv6 address may try to use postmaster (fortunately behind a router blocking the port)</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Fri, 13 Jan 2023 15:32:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40186#p40186</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] postfix dynamic ipv6 interfaces]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40184#p40184</link>
			<description><![CDATA[<div class="quotebox"><cite>bai4Iej2need wrote:</cite><blockquote><div><p>Postfix shall listen on eth1,(LAN) but not on eth0 (World).</p></div></blockquote></div><div class="quotebox"><cite>bai4Iej2need wrote:</cite><blockquote><div><p>with ipv6 I do not have fixed ip numbers, because these will change dynamically<br />The ipv6 numbers will change dynamically , what ever I receive from my ISP .</p></div></blockquote></div><p>These statements appear to be contrary to each other.&#160; Do you want postfix for local network only, or for world (internet)?&#160; If you only need it for LAN, then it does not matter what your ISP assigns; just set up a static local address to use on eth1.<br />If you actually do want it to be reachable from outside your network (internet), then is there any reason not to use <span class="bbc">inet_interfaces = all</span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Fri, 13 Jan 2023 01:46:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40184#p40184</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] postfix dynamic ipv6 interfaces]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40181#p40181</link>
			<description><![CDATA[<p>I have succeded with installing propagation of Ipv6 subnet numbers.</p><div class="codebox"><pre><code>/etc/postfix/main.cf:
    inet_interfaces = all
    inet_interfaces = all (DEFAULT)
    inet_interfaces = 127.0.0.1
    inet_interfaces = 127.0.0.1, [::1] (Postfix version 2.2 and later)
    inet_interfaces = 192.168.1.2, 127.0.0.1
    inet_interfaces = localhost</code></pre></div><p>Postfix shall listen on eth1,(LAN) but not on eth0 (World).</p><p>what is missing here:</p><div class="codebox"><pre><code> inet_interfaces = eth0 
 inet_interfaces = eth1</code></pre></div><p>with ipv6 I do not have fixed ip numbers, because these will change dynamically</p><div class="codebox"><pre><code>Starting Postfix Mail Transport Agent: postfixpostmulti: fatal: config variable inet_interfaces: host not found: eth1</code></pre></div><p>The ipv6 numbers will change dynamically , what ever I receive from my ISP . <br />They (dhcpv6) might last 3 months or 1 hour. Both I had already.</p><p>How do I have postfix bind to an interface such as eth1 without mentioning the ipv6 numbers ?</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Thu, 12 Jan 2023 18:08:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40181#p40181</guid>
		</item>
	</channel>
</rss>
