On 24/12/2019 12:33 Naveen Reddy <naveenreddy99@gmail.com> wrote:


Hello, 

We need help with an issue that we are running into when we are trying to run Dovecot in Docker container. 
Also how do we enable debugging for dovecot. Logs doesn't show any info about the issue.

Below processes are not running when a Director service is started:

dovecot-Dovecot/auth
dovecot-Dovecot/ssl-params
dovecot-Director/lmtp
dovecot-Director/ssl-params
dovecot-Director/imap-login director

Here is the version that I'm running and including the dovecot -n output below:

bash-4.2# dovecot --version
2.2.36


bash-4.2# dovecot -n
# 2.2.36 (xxxxx): /etc/dovecot/dovecot.conf
# OS: Linux 4.1.12-112.14.11.el7uek.x86_64 x86_64 Red Hat Enterprise Linux Server release 7.7 (Maipo)
# Hostname: XXXXXXX
auth_debug = yes
auth_default_realm = xxxxxxxxxxxx
auth_verbose = yes
disable_plaintext_auth = no
dotlock_use_excl = no
hostname = xxxxxxxxxxxxxxxx
instance_name = Dovecot
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c home=% domain=%d
mail_debug = yes
mail_fsync = always
mail_gid = imapd
mail_home = /xxxxxxxxxxx/%d/%n
mail_location = dbox:~/
mail_uid = imapd
mmap_disable = yes
passdb {
  args = /etc/dovecot/lookups/ldap-pass.conf
  driver = ldap
}
passdb {
  args = /etc/dovecot/lookups/xxxx.conf
  driver = ldap
}
plugin {
  stats_refresh = 30 secs
  stats_track_cmds = yes
}
protocols = imap lmtp
service auth {
  client_limit = 4096
  unix_listener auth-userdb {
    mode = 0777
  }
}
service imap-login {
  chroot = login
  client_limit = 0
  drop_priv_before_exec = no
  executable = imap-login
  extra_groups =
  group =
  idle_kill = 0
  inet_listener imap {
    address =
    port = 1144
    ssl = no
  }
  inet_listener imaps {
    address =
    port = 994
    ssl = yes
  }
  privileged_group =
  process_limit = 0
  process_min_avail = 0
  protocol = imap
  service_count = 50
  type = login
  user = $default_login_user
  vsz_limit = 18446744073709551615 B
}
service imap {
  service_count = 50
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
    address =
    port = 10025
  }
}
service stats {
  fifo_listener stats-mail {
    mode = 0600
    user = imapd
  }
}
ssl_cert = </xxxxxxx/cert/dovecot.pem
ssl_cipher_list = XXXXXX
ssl_key =  # hidden, use -P to show it
ssl_protocols = XXXXX
userdb {
  args = /etc/dovecot/lookups/ldap-user.conf
  driver = ldap
}
userdb {
  args = /etc/dovecot/lookups/xxxxxxx.conf
  driver = ldap
}


Thanks & Regards,
Naveen

Try setting

log_path=/dovecot.log
info_log_path=$log_path
debug_log_path=$log_path
---
Aki Tuomi