[Dovecot] Add new imapsync + dependencies
[Dovecot] Syslog-ng: Do not trim after each push to Redis [Dovecot] Add new cronjob to trim all Redis logs every minute (will be moved in the future)
This commit is contained in:
@@ -30,14 +30,6 @@ destination d_redis_f2b_channel {
|
||||
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
|
||||
);
|
||||
};
|
||||
destination d_redis_cleanup {
|
||||
redis(
|
||||
host("redis-mailcow")
|
||||
persist-name("redis3")
|
||||
port(6379)
|
||||
command("LTRIM" "DOVECOT_MAILLOG" "0" "`LOG_LINES`")
|
||||
);
|
||||
};
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_not_watchdog { not message("172\.22\.1\.248"); };
|
||||
log {
|
||||
@@ -47,5 +39,4 @@ log {
|
||||
filter(f_mail);
|
||||
destination(d_redis_ui_log);
|
||||
destination(d_redis_f2b_channel);
|
||||
destination(d_redis_cleanup);
|
||||
};
|
||||
|
Reference in New Issue
Block a user