Browse Source

Merge pull request #5699 from mailcow/staging

2024-01d
Niklas Meyer 1 year ago
parent
commit
c9e9628383
2 changed files with 2 additions and 2 deletions
  1. 1 1
      data/Dockerfiles/dovecot/repl_health.sh
  2. 1 1
      docker-compose.yml

+ 1 - 1
data/Dockerfiles/dovecot/repl_health.sh

@@ -11,7 +11,7 @@ fi
 
 # Is replication active?
 # grep on file is less expensive than doveconf
-if ! grep -qi mail_replica /etc/dovecot/dovecot.conf; then
+if [ -n ${MAILCOW_REPLICA_IP} ]; then
   ${REDIS_CMDLINE} SET DOVECOT_REPL_HEALTH 1 > /dev/null
   exit
 fi

+ 1 - 1
docker-compose.yml

@@ -222,7 +222,7 @@ services:
             - sogo
 
     dovecot-mailcow:
-      image: mailcow/dovecot:1.28
+      image: mailcow/dovecot:1.28.1
       depends_on:
         - mysql-mailcow
         - netfilter-mailcow