Skip to content
Snippets Groups Projects
Unverified Commit 0bda606c authored by Roma's avatar Roma Committed by Rémy Huet
Browse files

Ajout de l'adresse du conteneur dovecot

parent 60a155d0
No related branches found
No related tags found
1 merge request!20pica-mailnt
......@@ -25,6 +25,10 @@ ENV LDAP_SERVER ldap.test.picasoft.net
#postfix: search_base pour l'existence d'adresses @picasoft.net
ENV LDAP_POSTFIX_SEARCH_BASE dc=picasoft,dc=net
#serveur MDA/LDA sous la forme d'un serveur LMTP : donner l'adresse et le port du conteneur avec pica-mail-mda
ENV LMTP_ADRESS
ENV LMTP_PORT 24
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
......@@ -25,6 +25,10 @@ postconf -e "smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net"
#configuration LDAP
#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_ADRESS}:${LMTP_PORT}:private/dovecot-lmtp"
#démarrage premier plan
/usr/lib/postfix/sbin/master -c /etc/postfix -d 2>&1
tail -F /var/log/mail.log
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