[Compose] New images with LOG_LINES
[Update] Do not add empty line in each loop
This commit is contained in:
@@ -6,7 +6,7 @@ ENV LC_ALL C
|
||||
ENV DOVECOT_VERSION 2.2.33.2
|
||||
ENV PIGEONHOLE_VERSION 0.4.21
|
||||
|
||||
RUN apt-get update && apt-get -y install \
|
||||
RUN apt-get update && apt-get -y --no-install-recommends install \
|
||||
automake \
|
||||
autotools-dev \
|
||||
build-essential \
|
||||
@@ -56,6 +56,7 @@ RUN apt-get update && apt-get -y install \
|
||||
make \
|
||||
procps \
|
||||
supervisor \
|
||||
cron \
|
||||
syslog-ng \
|
||||
syslog-ng-core \
|
||||
syslog-ng-mod-redis \
|
||||
|
@@ -35,7 +35,7 @@ destination d_redis_cleanup {
|
||||
host("redis-mailcow")
|
||||
persist-name("redis3")
|
||||
port(6379)
|
||||
command("LTRIM" "DOVECOT_MAILLOG" "0" "9999")
|
||||
command("LTRIM" "DOVECOT_MAILLOG" "0" "`LOG_LINES`")
|
||||
);
|
||||
};
|
||||
filter f_mail { facility(mail); };
|
||||
|
Reference in New Issue
Block a user