crans.fr et crans.eu ont des entrées MX, il faut les gérer.

This commit is contained in:
Pierre-Elliott Bécue 2015-09-09 02:51:54 +02:00
parent 6f54988807
commit c233a85c3c
2 changed files with 8 additions and 2 deletions

View file

@ -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:

View file

@ -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