Tags: patch

The attached patch adds both possible IPv6 loopback addresses to the 
mynetworks generated on install.  It does not change existing installation.

The debian/changelog entry is provided for convenience.

Since inet_interfaces = all and not just ipv4, then the associated mynetworks 
should also cover dual stack ipv4 and ipv6 operations.

diff -u postfix-2.4.6/debian/changelog postfix-2.4.6/debian/changelog
--- postfix-2.4.6/debian/changelog
+++ postfix-2.4.6/debian/changelog
@@ -1,3 +1,10 @@
+postfix (2.4.6-5) unstable; urgency=low
+
+  * Add IPv6 loopback addresses to default mynetworks in debian/templates
+    (closes: #345047)
+
+ -- Scott Kitterman <[EMAIL PROTECTED]>  Wed, 16 Jan 2008 14:47:34 -0500
+
 postfix (2.4.6-4) unstable; urgency=low
 
   [Piarres Beobide]
diff -u postfix-2.4.6/debian/templates postfix-2.4.6/debian/templates
--- postfix-2.4.6/debian/templates
+++ postfix-2.4.6/debian/templates
@@ -166,10 +166,12 @@
 
 Template: postfix/mynetworks
 Type: string
-Default: 127.0.0.0/8
+Default: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
 _Description: Local networks:
  Please specify the network blocks for which this host should relay mail.
  The default is just the local host, which is needed by some mail user agents.
+ The default includes local host for both IPv4 and IPv6. If just connecting
+ via one IP version, the unused value(s) may be removed.
  .
  If this host is a smarthost for a block of machines, you need to specify the
  netblocks here, or mail will be rejected rather than relayed.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to