[ClamAV] Remove deprecated AllowSupplementaryGroups
parent
7115f77fc4
commit
777e469958
|
@ -15,7 +15,6 @@ MaxQueue 80
|
||||||
IdleTimeout 20
|
IdleTimeout 20
|
||||||
SelfCheck 3600
|
SelfCheck 3600
|
||||||
User clamav
|
User clamav
|
||||||
AllowSupplementaryGroups yes
|
|
||||||
Foreground yes
|
Foreground yes
|
||||||
DetectPUA yes
|
DetectPUA yes
|
||||||
# See https://github.com/vrtadmin/clamav-faq/blob/master/faq/faq-pua.md
|
# See https://github.com/vrtadmin/clamav-faq/blob/master/faq/faq-pua.md
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
clamav {
|
clamav {
|
||||||
attachments_only = false;
|
attachments_only = true;
|
||||||
symbol = "CLAM_VIRUS";
|
symbol = "CLAM_VIRUS";
|
||||||
type = "clamav";
|
type = "clamav";
|
||||||
log_clean = true;
|
log_clean = true;
|
||||||
|
|
|
@ -3,20 +3,12 @@ actions {
|
||||||
add_header = 5;
|
add_header = 5;
|
||||||
greylist = 4;
|
greylist = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
symbol "MAILCOW_AUTH" {
|
symbol "MAILCOW_AUTH" {
|
||||||
description = "mailcow authenticated";
|
description = "mailcow authenticated";
|
||||||
score = -20.0;
|
score = -20.0;
|
||||||
}
|
}
|
||||||
group "statistics" {
|
|
||||||
symbol "BAYES_SPAM" {
|
|
||||||
weight = 7.5;
|
|
||||||
description = "Message probably spam, probability: ";
|
|
||||||
}
|
|
||||||
symbol "BAYES_HAM" {
|
|
||||||
weight = -2.5;
|
|
||||||
description = "Message probably ham, probability: ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
group "MX" {
|
group "MX" {
|
||||||
symbol "MX_INVALID" {
|
symbol "MX_INVALID" {
|
||||||
score = 0.5;
|
score = 0.5;
|
||||||
|
@ -34,15 +26,12 @@ group "MX" {
|
||||||
one_shot = "true";
|
one_shot = "true";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
symbol "SPOOFED_SENDER" {
|
symbol "SPOOFED_SENDER" {
|
||||||
description = "Sender is not authenticated but part of mailcow managed domains";
|
description = "Sender is not authenticated but part of mailcow managed domains";
|
||||||
score = 1.0;
|
score = 1.0;
|
||||||
}
|
}
|
||||||
group "policies" {
|
|
||||||
symbol "R_SPF_FAIL" {
|
|
||||||
score = 4.0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
symbol "CTYPE_MIXED_BOGUS" {
|
symbol "CTYPE_MIXED_BOGUS" {
|
||||||
score = 0.0;
|
score = 0.0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
symbols = {
|
symbols = {
|
||||||
"ARC_REJECT" {
|
"ARC_REJECT" {
|
||||||
weight = 0.0;
|
score = 0.0;
|
||||||
|
}
|
||||||
|
"R_SPF_FAIL" {
|
||||||
|
score = 4.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
symbols = {
|
||||||
|
"BAYES_SPAM" {
|
||||||
|
weight = 7.5;
|
||||||
|
description = "Message probably spam, probability: ";
|
||||||
|
}
|
||||||
|
"BAYES_HAM" {
|
||||||
|
weight = -2.5;
|
||||||
|
description = "Message probably ham, probability: ";
|
||||||
|
}
|
||||||
|
}
|
|
@ -2,3 +2,4 @@ type = "console";
|
||||||
systemd = false;
|
systemd = false;
|
||||||
.include "$CONFDIR/logging.inc"
|
.include "$CONFDIR/logging.inc"
|
||||||
.include(try=true; priority=20) "$CONFDIR/override.d/logging.custom.inc"
|
.include(try=true; priority=20) "$CONFDIR/override.d/logging.custom.inc"
|
||||||
|
debug_modules = ["antivirus"];
|
||||||
|
|
Loading…
Reference in New Issue