[Postfix, Dovecot, SOGo] Sanitize F2B logs

master
andryyy 2021-04-07 21:27:05 +02:00
parent d71ce15dca
commit f60143e983
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
7 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@ destination d_redis_f2b_channel {
host("`REDIS_SLAVEOF_IP`")
persist-name("redis2")
port(`REDIS_SLAVEOF_PORT`)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
filter f_mail { facility(mail); };

View File

@ -27,7 +27,7 @@ destination d_redis_f2b_channel {
host("redis-mailcow")
persist-name("redis2")
port(6379)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
filter f_mail { facility(mail); };

View File

@ -28,7 +28,7 @@ destination d_redis_f2b_channel {
host("`REDIS_SLAVEOF_IP`")
persist-name("redis2")
port(`REDIS_SLAVEOF_PORT`)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
filter f_mail { facility(mail); };

View File

@ -28,7 +28,7 @@ destination d_redis_f2b_channel {
host("redis-mailcow")
persist-name("redis2")
port(6379)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
filter f_mail { facility(mail); };

View File

@ -30,7 +30,7 @@ destination d_redis_f2b_channel {
host("`REDIS_SLAVEOF_IP`")
persist-name("redis2")
port(`REDIS_SLAVEOF_PORT`)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
log {

View File

@ -30,7 +30,7 @@ destination d_redis_f2b_channel {
host("redis-mailcow")
persist-name("redis2")
port(6379)
command("PUBLISH" "F2B_CHANNEL" "$MESSAGE")
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
);
};
log {

View File

@ -164,7 +164,7 @@ services:
- phpfpm
sogo-mailcow:
image: mailcow/sogo:1.97
image: mailcow/sogo:1.98
environment:
- DBNAME=${DBNAME}
- DBUSER=${DBUSER}
@ -200,7 +200,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.144
image: mailcow/dovecot:1.145
depends_on:
- mysql-mailcow
dns:
@ -261,7 +261,7 @@ services:
- dovecot
postfix-mailcow:
image: mailcow/postfix:1.60
image: mailcow/postfix:1.61
depends_on:
- mysql-mailcow
volumes: