瀏覽代碼

[Compose, Dovecot] Fixed missing ltrim

andryyy 8 年之前
父節點
當前提交
008d500f4d
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      data/Dockerfiles/dovecot/syslog-ng.conf
  2. 1 1
      docker-compose.yml

+ 1 - 0
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 {

+ 1 - 1
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: