From eba8553865ea6b83617cc1a5f53016fbad75d588 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 29 Jan 2014 12:19:03 +0100 Subject: [PATCH] =?UTF-8?q?[postfix,=20nfs]=20D=C3=A9claration=20des=20r?= =?UTF-8?q?=C3=A9seaux=20en=20ipv6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cfg/etc/exports/exports | 2 ++ Python/etc/postfix/main.cf | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cfg/etc/exports/exports b/Cfg/etc/exports/exports index fd62c7d..e530ed2 100644 --- a/Cfg/etc/exports/exports +++ b/Cfg/etc/exports/exports @@ -10,3 +10,5 @@ # /home-adh 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash) /usr/scripts 10.231.136.0/24(rw,async,no_subtree_check,no_root_squash) +/home-adh 2a01:240:fe3d:c804::/64(rw,async,no_subtree_check,no_root_squash) +/usr/scripts 2a01:240:fe3d:c804::/64(rw,async,no_subtree_check,no_root_squash) diff --git a/Python/etc/postfix/main.cf b/Python/etc/postfix/main.cf index 970ba15..477af7f 100644 --- a/Python/etc/postfix/main.cf +++ b/Python/etc/postfix/main.cf @@ -46,9 +46,9 @@ import commands exports = [s.split(' ', 2)[0] for s in commands.getoutput("/usr/sbin/postconf -d").split("\n")] # Les différents réseaux -local_networks = ["127.0.0.0/8"] -adm_networks = ["10.231.136.0/24"] -client_networks = ["138.231.136.0/21", "138.231.144.0/21", "138.231.148.0/22", "[2a01:240:fe3d:4::]/64"] +local_networks = ["127.0.0.0/8", '[::1]/128'] +adm_networks = ["10.231.136.0/24", '[2a01:240:fe3d:c804::]/64'] +client_networks = ["138.231.136.0/21", "138.231.144.0/21", "138.231.148.0/22", "[2a01:240:fe3d:4::]/64", '[2a01:240:fe3d:c04::]/64'] @# +------------------+ @# | Variables utiles |