26 lines
705 B
Text
26 lines
705 B
Text
# -*- coding: utf-8; mode: conf-unix -*-
|
|
#
|
|
# Fichier gere par BCfg2
|
|
#
|
|
# Test si le greylisting est active pour un certain compte.
|
|
|
|
# Connexion LDAP
|
|
#if "db-server" in $metadata.groups
|
|
## Pour ceux qui ont la base ou une copie en local
|
|
## on regarde dans celle-ci
|
|
server_host = ldap://localhost/
|
|
#else
|
|
## Sinon on regarde dans la base principale
|
|
server_host = ldap://ldap.adm.crans.org/
|
|
#endif
|
|
search_base = ou=data,dc=crans,dc=org
|
|
version = 3
|
|
bind = yes
|
|
bind_dn = cn=postfix,dc=crans,dc=org
|
|
bind_pw = f34842fd04aa7f58bc45bb
|
|
|
|
# Requete faite a la base
|
|
query_filter = (|(uid=%u)(mailAlias=%u)(canonicalAlias=%u))
|
|
|
|
# Les alias correspondent à l'adresse du champ suivant
|
|
result_attribute = contourneGreylist
|