From c233a85c3c36a413ae5627ffd841f2874709bcce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Wed, 9 Sep 2015 02:51:54 +0200 Subject: [PATCH] =?UTF-8?q?crans.fr=20et=20crans.eu=20ont=20des=20entr?= =?UTF-8?q?=C3=A9es=20MX,=20il=20faut=20les=20g=C3=A9rer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/etc/postfix/main.cf | 8 ++++++-- Python/etc/postfix/transport | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Python/etc/postfix/main.cf b/Python/etc/postfix/main.cf index 9498a01..c057e7f 100644 --- a/Python/etc/postfix/main.cf +++ b/Python/etc/postfix/main.cf @@ -91,14 +91,14 @@ if mx: @# Destinations acceptees %mydestination [hostname, "$myhostname", "localhost", "localhost.$mydomain"] if main or users: - out(" " + tostring(["$mydomain", "crans.ens-cachan.fr", "clubs.ens-cachan.fr", "install-party.ens-cachan.fr"])) + out(" " + tostring(["$mydomain", "crans.ens-cachan.fr", "clubs.ens-cachan.fr", "install-party.ens-cachan.fr", "crans.fr", "crans.eu"])) if manage_ml: out(" " + tostring(["lists.$mydomain"])) @# Domaine relaye par ce MX @relay_domains = $mydestination if secondary: - out(" " + tostring(["$mydomain", "crans.ens-cachan.fr", "clubs.ens-cachan.fr", "install-party.ens-cachan.fr"])) + out(" " + tostring(["$mydomain", "crans.ens-cachan.fr", "clubs.ens-cachan.fr", "install-party.ens-cachan.fr", "crans.fr", "crans.eu"])) if public and not manage_ml: out(" " + tostring(["lists.$mydomain"])) @@ -285,6 +285,10 @@ if mx: @relayhost = [soyouz.adm.crans.org]:25 if has("titanic"): + # Les mails non locaux passeront pas ovh pour éviter de subir le blacklist + # que l'ip de la freebox souffre de la part de certains mail providers. + # Les mails à destination de crans.org et cie ne passent pas cette règle, + # la table transport étant prioritaire. @relayhost = [soyouz.adm.crans.org]:25 if main or secondary: diff --git a/Python/etc/postfix/transport b/Python/etc/postfix/transport index db6c54a..19911a0 100644 --- a/Python/etc/postfix/transport +++ b/Python/etc/postfix/transport @@ -21,6 +21,8 @@ if not has("users"): @crans.ens-cachan.fr smtp:[users.adm.crans.org] @install-party.ens-cachan.fr smtp:[users.adm.crans.org] @clubs.ens-cachan.fr smtp:[users.adm.crans.org] + @crans.eu smtp:[users.adm.crans.org] + @crans.fr smtp:[users.adm.crans.org] if has("mail-mx"): @# SMTP relous