From 446907944a874381f6b76566f027474d5a55a82a Mon Sep 17 00:00:00 2001 From: andryyy Date: Fri, 1 Sep 2017 23:40:23 +0200 Subject: [PATCH] [Postfix] Fix missing ltrim --- data/Dockerfiles/postfix/syslog-ng.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Dockerfiles/postfix/syslog-ng.conf b/data/Dockerfiles/postfix/syslog-ng.conf index 808b06b7..e06b9fa0 100644 --- a/data/Dockerfiles/postfix/syslog-ng.conf +++ b/data/Dockerfiles/postfix/syslog-ng.conf @@ -20,6 +20,7 @@ destination d_redis_ui_log { persist-name("redis1") port(6379) command("LPUSH" "POSTFIX_MAILLOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n") + command("LTRIM" "POSTFIX_MAILLOG" "0" "10000") ); }; destination d_redis_f2b_channel {