mailcow/data/Dockerfiles/dovecot/trim_logs.sh

9 lines
316 B
Bash
Raw Normal View History

#!/bin/bash
redis-cli -h redis LTRIM ACME_LOG 0 LOG_LINES
redis-cli -h redis LTRIM POSTFIX_MAILLOG 0 LOG_LINES
redis-cli -h redis LTRIM DOVECOT_MAILLOG 0 LOG_LINES
redis-cli -h redis LTRIM SOGO_LOG 0 LOG_LINES
redis-cli -h redis LTRIM NETFILTER_LOG 0 LOG_LINES
2018-08-02 18:19:58 +08:00
redis-cli -h redis LTRIM AUTODISCOVER_LOG 0 LOG_LINES