crans.fr et crans.eu ont des entrées MX, il faut les gérer.
This commit is contained in:
parent
6f54988807
commit
c233a85c3c
2 changed files with 8 additions and 2 deletions
|
@ -91,14 +91,14 @@ if mx:
|
||||||
@# Destinations acceptees
|
@# Destinations acceptees
|
||||||
%mydestination [hostname, "$myhostname", "localhost", "localhost.$mydomain"]
|
%mydestination [hostname, "$myhostname", "localhost", "localhost.$mydomain"]
|
||||||
if main or users:
|
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:
|
if manage_ml:
|
||||||
out(" " + tostring(["lists.$mydomain"]))
|
out(" " + tostring(["lists.$mydomain"]))
|
||||||
|
|
||||||
@# Domaine relaye par ce MX
|
@# Domaine relaye par ce MX
|
||||||
@relay_domains = $mydestination
|
@relay_domains = $mydestination
|
||||||
if secondary:
|
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:
|
if public and not manage_ml:
|
||||||
out(" " + tostring(["lists.$mydomain"]))
|
out(" " + tostring(["lists.$mydomain"]))
|
||||||
|
|
||||||
|
@ -285,6 +285,10 @@ if mx:
|
||||||
@relayhost = [soyouz.adm.crans.org]:25
|
@relayhost = [soyouz.adm.crans.org]:25
|
||||||
|
|
||||||
if has("titanic"):
|
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
|
@relayhost = [soyouz.adm.crans.org]:25
|
||||||
|
|
||||||
if main or secondary:
|
if main or secondary:
|
||||||
|
|
|
@ -21,6 +21,8 @@ if not has("users"):
|
||||||
@crans.ens-cachan.fr smtp:[users.adm.crans.org]
|
@crans.ens-cachan.fr smtp:[users.adm.crans.org]
|
||||||
@install-party.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]
|
@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"):
|
if has("mail-mx"):
|
||||||
@# SMTP relous
|
@# SMTP relous
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue