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