File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11clamav {
22 # If set force this action if any virus is found (default unset: no action is forced)
33 #action = "reject";
4- # if `true` only messages with non-image attachments will be checked (default true)
4+ # Scan mime_parts separately - otherwise the complete mail will be transferred to AV Scanner
55 scan_mime_parts = true;
6+ # Scanning Text is suitable for some av scanner databases (e.g. Sanesecurity)
7+ scan_text_mime = true;
8+ scan_image_mime = true;
69 # If `max_size` is set, messages > n bytes in size are not scanned
710 #max_size = 20000000;
811 # symbol to add (add it to metric if you want non-zero weight)
@@ -25,6 +28,10 @@ clamav {
2528 # symbol_name = "pattern";
2629 JUST_EICAR = "^Eicar-Test-Signature$";
2730 }
31+ patterns_fail {
32+ # symbol_name = "pattern";
33+ CLAM_PROTOCOL_ERROR = '^unhandled response';
34+ }
2835 # `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
2936 whitelist = "/etc/rspamd/antivirus.wl";
30- }
37+ }
You can’t perform that action at this time.
0 commit comments