log a stdout, uris ldap, puerto auth

This commit is contained in:
Mauro Torrez 2019-09-08 14:32:18 -03:00
parent 4ac4d99162
commit 04516a9ab2
6 changed files with 11 additions and 7 deletions

View File

@ -17,7 +17,6 @@ dovecot_volume_ssl: dovecot_ssl
# nombre red docker (definido por rol docker) # nombre red docker (definido por rol docker)
docker_network_name: dockernet docker_network_name: dockernet
# Auth # Auth
# mecanismos de autenticacion: agregar login para compat. outlook # mecanismos de autenticacion: agregar login para compat. outlook
@ -38,8 +37,8 @@ dovecot_auth_master_enable: no
dovecot_ldap_enable: yes dovecot_ldap_enable: yes
# servidores ldap # servidores ldap
dovecot_ldap_servers: dovecot_ldap_uris:
- localhost - "{{ ldap_uri | default('ldap://localhost') }}"
# version del protocolo LDAP # version del protocolo LDAP
dovecot_ldap_version: 3 dovecot_ldap_version: 3

View File

@ -92,9 +92,9 @@ service auth {
#group = #group =
} }
# inet_listener { inet_listener {
# port = 12345 port = 12345
# } }
# Auth process is run as this user. # Auth process is run as this user.
#user = $default_internal_user #user = $default_internal_user

View File

@ -31,6 +31,8 @@ ADD 10-mail.conf \
auth-master.conf.ext \ auth-master.conf.ext \
/etc/dovecot/conf.d/ /etc/dovecot/conf.d/
ADD local.conf /etc/dovecot/
ADD junk-filter.sieve /etc/dovecot/sieve/before/ ADD junk-filter.sieve /etc/dovecot/sieve/before/
RUN sievec /etc/dovecot/sieve/before && sievec /etc/dovecot/sieve/after RUN sievec /etc/dovecot/sieve/before && sievec /etc/dovecot/sieve/after

1
files/local.conf Normal file
View File

@ -0,0 +1 @@
log_path = /dev/stdout

View File

@ -22,6 +22,7 @@
- auth-ldap.conf.ext - auth-ldap.conf.ext
- auth-master.conf.ext - auth-master.conf.ext
- junk-filter.sieve - junk-filter.sieve
- local.conf
tags: skip_me tags: skip_me
- name: Crear imagen {{ dovecot_image }} - name: Crear imagen {{ dovecot_image }}

View File

@ -5,7 +5,8 @@
# http://wiki2.dovecot.org/AuthDatabase/LDAP # http://wiki2.dovecot.org/AuthDatabase/LDAP
# Space separated list of LDAP hosts to use. host:port is allowed too. # Space separated list of LDAP hosts to use. host:port is allowed too.
hosts = {{ dovecot_ldap_servers | join(" ") }} # hosts = {{ dovecot_ldap_servers | join(" ") }}
uris = {{ dovecot_ldap_uris | join(" ") }}
# Use authentication binding for verifying password's validity. This works by # Use authentication binding for verifying password's validity. This works by
# logging into LDAP server using the username and password given by client. # logging into LDAP server using the username and password given by client.