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)
docker_network_name: dockernet
# Auth
# mecanismos de autenticacion: agregar login para compat. outlook
@ -38,8 +37,8 @@ dovecot_auth_master_enable: no
dovecot_ldap_enable: yes
# servidores ldap
dovecot_ldap_servers:
- localhost
dovecot_ldap_uris:
- "{{ ldap_uri | default('ldap://localhost') }}"
# version del protocolo LDAP
dovecot_ldap_version: 3

View File

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

View File

@ -31,6 +31,8 @@ ADD 10-mail.conf \
auth-master.conf.ext \
/etc/dovecot/conf.d/
ADD local.conf /etc/dovecot/
ADD junk-filter.sieve /etc/dovecot/sieve/before/
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-master.conf.ext
- junk-filter.sieve
- local.conf
tags: skip_me
- name: Crear imagen {{ dovecot_image }}

View File

@ -5,7 +5,8 @@
# http://wiki2.dovecot.org/AuthDatabase/LDAP
# 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
# logging into LDAP server using the username and password given by client.