From b669a164953b2f361fa2b35047842de65e9670f3 Mon Sep 17 00:00:00 2001 From: CdRom1 <r.maliach@live.fr> Date: Sun, 28 Oct 2018 12:04:11 +0100 Subject: [PATCH] ipv4 dans le docker network --- pica-mail-mta/entrypoint.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pica-mail-mta/entrypoint.sh b/pica-mail-mta/entrypoint.sh index d984e91c..8e52a5b7 100755 --- a/pica-mail-mta/entrypoint.sh +++ b/pica-mail-mta/entrypoint.sh @@ -26,8 +26,12 @@ postconf -e "smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_ #d'autres RBL pour les requêtes de connexion au client postconf -e "smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net" -#configuration LDAP - +#configuration du socket TCP/IP +#la résolution DNS ipv6 ne marche pas dans le docker network, et de toute façon y'aura que deux machines... rien de grave +postconf -e "inet_protocols = ipv4" +#il est nécessaire de stopper le démon pour changer les sockets +postfix reload +postfix stop #configuration du local delivery agent sous la forme du serveur lmtp de dovecot connecté par socket ip (inet) postconf -e "virtual_transport = lmtp:inet:${LMTP_LAN_HOSTNAME}:${LMTP_PORT}:private/dovecot-lmtp" -- GitLab