From 1e362eb8683fb972ac899857fc84dd1d3cc3885a Mon Sep 17 00:00:00 2001
From: rmaliach <rmaliach@picasoft.net>
Date: Mon, 1 Oct 2018 16:19:44 +0200
Subject: [PATCH] Abandoned alias maps

---
 pica-mail-mta/entrypoint.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/pica-mail-mta/entrypoint.sh b/pica-mail-mta/entrypoint.sh
index 5a6c934b..b6e3f2e3 100755
--- a/pica-mail-mta/entrypoint.sh
+++ b/pica-mail-mta/entrypoint.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+1#!/bin/bash
 
 #edition de /etc/postfix/main.cf via un utilitaire fourni par postfix
 
@@ -20,13 +20,7 @@ postconf -e "smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_
 postconf -e "smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net"
 
 #configuration LDAP
-#source d'alias : le serveur LDAP et les alias locaux
-cat <<EOF > /etc/postfix/ldap-aliases.cf
-server_host = ${LDAP_SERVER}
-search_base = ${LDAP_POSTFIX_SEARCH_BASE}
-EOF
 
-postconf -e "alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf"
 
 #démarrage premier plan
 /usr/lib/postfix/sbin/master -c /etc/postfix -d 2>&1
-- 
GitLab