Skip to content
Snippets Groups Projects
Unverified Commit 1e362eb8 authored by rmaliach's avatar rmaliach Committed by Rémy Huet
Browse files

Abandoned alias maps

parent 023e3e6d
No related branches found
No related tags found
1 merge request!20pica-mailnt
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment