[Compose, Dovecot] Fixed missing ltrim

master
andryyy 2017-09-01 23:39:51 +02:00
parent 7351fcf1e3
commit 008d500f4d
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ destination d_redis_ui_log {
persist-name("redis1") persist-name("redis1")
port(6379) port(6379)
command("LPUSH" "DOVECOT_MAILLOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n") 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 { destination d_redis_f2b_channel {

View File

@ -181,7 +181,7 @@ services:
- sogo - sogo
dovecot-mailcow: dovecot-mailcow:
image: mailcow/dovecot:1.7 image: mailcow/dovecot:1.8
build: ./data/Dockerfiles/dovecot build: ./data/Dockerfiles/dovecot
depends_on: depends_on:
unbound-mailcow: unbound-mailcow: