Cette fois c'est la bonne.
- definition de la variable users - correction du reseau adm darcs-hash:20071214004619-af139-264e7d832ef5a9d9e0fa163ebb88b726ddb24b0c.gz
This commit is contained in:
parent
8baf4e147a
commit
c2ac799061
1 changed files with 6 additions and 4 deletions
|
@ -17,6 +17,9 @@
|
||||||
# des adherents est utilise uniquement en interne
|
# des adherents est utilise uniquement en interne
|
||||||
public = has("mail-mx-public")
|
public = has("mail-mx-public")
|
||||||
|
|
||||||
|
# Si vrai alors delivre localement les mails des adherents.
|
||||||
|
users = has("users")
|
||||||
|
|
||||||
pub = pubhostname
|
pub = pubhostname
|
||||||
adm = admhostname
|
adm = admhostname
|
||||||
loc = "127.0.0.1"
|
loc = "127.0.0.1"
|
||||||
|
@ -156,9 +159,8 @@ tlsmgr unix - - n 300 1 tlsmgr
|
||||||
|
|
||||||
{% choose %}\
|
{% choose %}\
|
||||||
{% when users %}\
|
{% when users %}\
|
||||||
# Serveur smtp pour recuperation des mails d'amavis
|
# Smtp pour la reception des mails venant des autres MX
|
||||||
# Verifie uniquement que le source viens bien du reseau
|
# a verifier que ca vient du vlan adm.
|
||||||
# d'administration
|
|
||||||
$adm:smtp inet n - n - - smtpd
|
$adm:smtp inet n - n - - smtpd
|
||||||
-o content_filter=
|
-o content_filter=
|
||||||
-o local_recipient_maps=
|
-o local_recipient_maps=
|
||||||
|
@ -166,7 +168,7 @@ $adm:smtp inet n - n - - smtpd
|
||||||
-o smtpd_client_restrictions=
|
-o smtpd_client_restrictions=
|
||||||
-o smtpd_sender_restrictions=
|
-o smtpd_sender_restrictions=
|
||||||
-o smtpd_recipient_restrictions=permit_mynetworks,reject
|
-o smtpd_recipient_restrictions=permit_mynetworks,reject
|
||||||
-o mynetworks=138.231.144.0/24
|
-o mynetworks=10.231.136.0/24
|
||||||
{% end %}\
|
{% end %}\
|
||||||
{% when main %}\
|
{% when main %}\
|
||||||
# Smtp pour la recuperation en local des mails d'amavis
|
# Smtp pour la recuperation en local des mails d'amavis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue