Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teuto.net
ISPConfig 3
Commits
d19cc6bd
Commit
d19cc6bd
authored
8 months ago
by
C V
Browse files
Options
Downloads
Patches
Plain Diff
Prettify for easy readability
parent
3ab3c288
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/tpl/rspamd_antivirus.conf.master
+10
-0
10 additions, 0 deletions
install/tpl/rspamd_antivirus.conf.master
with
10 additions
and
0 deletions
install/tpl/rspamd_antivirus.conf.master
+
10
−
0
View file @
d19cc6bd
clamav {
clamav {
# If set force this action if any virus is found (default unset: no action is forced)
# If set force this action if any virus is found (default unset: no action is forced)
#action = "reject";
#action = "reject";
# Scan mime_parts separately - otherwise the complete mail will be transferred to AV Scanner
# Scan mime_parts separately - otherwise the complete mail will be transferred to AV Scanner
scan_mime_parts = true;
scan_mime_parts = true;
# Scanning Text is suitable for some av scanner databases (e.g. Sanesecurity)
# Scanning Text is suitable for some av scanner databases (e.g. Sanesecurity)
scan_text_mime = true;
scan_text_mime = true;
scan_image_mime = true;
scan_image_mime = true;
# If `max_size` is set, messages > n bytes in size are not scanned
# If `max_size` is set, messages > n bytes in size are not scanned
#max_size = 20000000;
#max_size = 20000000;
# symbol to add (add it to metric if you want non-zero weight)
# symbol to add (add it to metric if you want non-zero weight)
symbol = "CLAM_VIRUS";
symbol = "CLAM_VIRUS";
# type of scanner: "clamav", "fprot", "sophos" or "savapi"
# type of scanner: "clamav", "fprot", "sophos" or "savapi"
type = "clamav";
type = "clamav";
# For "savapi" you must also specify the following variable
# For "savapi" you must also specify the following variable
#product_id = 12345;
#product_id = 12345;
# You can enable logging for clean messages
# You can enable logging for clean messages
#log_clean = true;
#log_clean = true;
# servers to query (if port is unspecified, scanner-specific default is used)
# servers to query (if port is unspecified, scanner-specific default is used)
# can be specified multiple times to pool servers
# can be specified multiple times to pool servers
# can be set to a path to a unix socket
# can be set to a path to a unix socket
# Enable this in local.d/antivirus.conf
# Enable this in local.d/antivirus.conf
#servers = "127.0.0.1:3310";
#servers = "127.0.0.1:3310";
servers = "/var/run/clamav/clamd.ctl";
servers = "/var/run/clamav/clamd.ctl";
# if `patterns` is specified virus name will be matched against provided regexes and the related
# if `patterns` is specified virus name will be matched against provided regexes and the related
# symbol will be yielded if a match is found. If no match is found, default symbol is yielded.
# symbol will be yielded if a match is found. If no match is found, default symbol is yielded.
patterns {
patterns {
...
@@ -32,6 +41,7 @@ clamav {
...
@@ -32,6 +41,7 @@ clamav {
# symbol_name = "pattern";
# symbol_name = "pattern";
CLAM_PROTOCOL_ERROR = '^unhandled response';
CLAM_PROTOCOL_ERROR = '^unhandled response';
}
}
# `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
# `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
whitelist = "/etc/rspamd/antivirus.wl";
whitelist = "/etc/rspamd/antivirus.wl";
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment