mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-15 03:44:56 +02:00
Disable service stats
for Dovecot explicitly (#2292)
Co-authored-by: Casper <casperklein@users.noreply.github.com> Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
parent
c568e09e60
commit
a4095a7d48
2 changed files with 30 additions and 0 deletions
|
@ -186,6 +186,11 @@ function _setup_dovecot
|
|||
sed -i -e 's|#ssl = yes|ssl = required|g' /etc/dovecot/conf.d/10-ssl.conf
|
||||
sed -i 's|^postmaster_address = .*$|postmaster_address = '"${POSTMASTER_ADDRESS}"'|g' /etc/dovecot/conf.d/15-lda.conf
|
||||
|
||||
if ! grep -q -E '^stats_writer_socket_path=' /etc/dovecot/dovecot.conf
|
||||
then
|
||||
printf '\nstats_writer_socket_path=\n' >>/etc/dovecot/dovecot.conf
|
||||
fi
|
||||
|
||||
# set mail_location according to mailbox format
|
||||
case "${DOVECOT_MAILBOX_FORMAT}" in
|
||||
"sdbox" | "mdbox" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue