diff --git a/data/Dockerfiles/dovecot/syslog-ng.conf b/data/Dockerfiles/dovecot/syslog-ng.conf index 0257d6a1..d14c2ad1 100644 --- a/data/Dockerfiles/dovecot/syslog-ng.conf +++ b/data/Dockerfiles/dovecot/syslog-ng.conf @@ -20,6 +20,7 @@ destination d_redis_ui_log { persist-name("redis1") port(6379) command("LPUSH" "DOVECOT_MAILLOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n") + command("LTRIM" "DOVECOT_MAILLOG" "0" "10000") ); }; destination d_redis_f2b_channel { diff --git a/docker-compose.yml b/docker-compose.yml index db581750..29f1038f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,7 +181,7 @@ services: - sogo dovecot-mailcow: - image: mailcow/dovecot:1.7 + image: mailcow/dovecot:1.8 build: ./data/Dockerfiles/dovecot depends_on: unbound-mailcow: