[ClamAV] Remove deprecated AllowSupplementaryGroups

master
André 2018-05-30 20:28:23 +02:00
parent 7115f77fc4
commit 777e469958
6 changed files with 20 additions and 18 deletions

View File

@ -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

View File

@ -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;

View File

@ -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;
} }

View File

@ -1,5 +1,8 @@
symbols = { symbols = {
"ARC_REJECT" { "ARC_REJECT" {
weight = 0.0; score = 0.0;
}
"R_SPF_FAIL" {
score = 4.0;
} }
} }

View File

@ -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: ";
}
}

View File

@ -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"];