aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/antivirus.conf2
-rw-r--r--conf/modules.d/multimap.conf4
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/modules.d/antivirus.conf b/conf/modules.d/antivirus.conf
index 63fc555a9..16f38fbda 100644
--- a/conf/modules.d/antivirus.conf
+++ b/conf/modules.d/antivirus.conf
@@ -39,7 +39,7 @@ antivirus {
# symbol will be yielded if a match is found. If no match is found, default symbol is yielded.
patterns {
# symbol_name = "pattern";
- JUST_EICAR = "^Eicar-Test-Signature$";
+ JUST_EICAR = '^Eicar-Test-Signature$';
}
# `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
whitelist = "/etc/rspamd/antivirus.wl";
diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index 358b7207b..b71f4d653 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -148,7 +148,7 @@ sender_from_whitelist_user {
sender_from_regexp {
type = "header";
header = "from";
- filter = "regexp:/.*@/";
+ filter = 'regexp:/.*@/';
map = "file:///tmp/from_re.map";
symbol = "SENDER_FROM_REGEXP";
}
@@ -160,7 +160,7 @@ url_map {
}
url_tld_re {
type = "url";
- filter = "tld:regexp:/\.[^.]+$/"; # Extracts the last component of URL
+ filter = 'tld:regexp:/\.[^.]+$/'; # Extracts the last component of URL
map = "file:///tmp/url.map";
symbol = "URL_MAP_RE";
}