diff --git a/pica-mail-mta/entrypoint.sh b/pica-mail-mta/entrypoint.sh index 5a6c934b1533266cf082ee2b879c1ae71db35851..b6e3f2e3c1fc7cb14bf96a55e32e49dfb0822560 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