File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
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+
45 # Scan mime_parts separately - otherwise the complete mail will be transferred to AV Scanner
56 scan_mime_parts = true;
7+
68 # Scanning Text is suitable for some av scanner databases (e.g. Sanesecurity)
79 scan_text_mime = true;
810 scan_image_mime = true;
11+
912 # If `max_size` is set, messages > n bytes in size are not scanned
1013 #max_size = 20000000;
14+
1115 # symbol to add (add it to metric if you want non-zero weight)
1216 symbol = "CLAM_VIRUS";
17+
1318 # type of scanner: "clamav", "fprot", "sophos" or "savapi"
1419 type = "clamav";
20+
1521 # For "savapi" you must also specify the following variable
1622 #product_id = 12345;
23+
1724 # You can enable logging for clean messages
1825 #log_clean = true;
26+
1927 # servers to query (if port is unspecified, scanner-specific default is used)
2028 # can be specified multiple times to pool servers
2129 # can be set to a path to a unix socket
2230 # Enable this in local.d/antivirus.conf
2331 #servers = "127.0.0.1:3310";
2432 servers = "/var/run/clamav/clamd.ctl";
33+
2534 # if `patterns` is specified virus name will be matched against provided regexes and the related
2635 # symbol will be yielded if a match is found. If no match is found, default symbol is yielded.
2736 patterns {
@@ -32,6 +41,7 @@ clamav {
3241 # symbol_name = "pattern";
3342 CLAM_PROTOCOL_ERROR = '^unhandled response';
3443 }
44+
3545 # `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
3646 whitelist = "/etc/rspamd/antivirus.wl";
3747}
You can’t perform that action at this time.
0 commit comments