]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use single quotes in some config samples 2116/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 26 Mar 2018 08:31:25 +0000 (10:31 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 26 Mar 2018 08:31:25 +0000 (10:31 +0200)
conf/modules.d/antivirus.conf
conf/modules.d/multimap.conf

index 63fc555a9bf088d3379fd77b065dcef255cae8cf..16f38fbdae845a0ddf710e5a8cbd8216673c612b 100644 (file)
@@ -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";
index 358b7207be70d71a5b6549b4ed614207232ddb30..b71f4d653f0724d1b4c57ac1182a3c6485d33ffe 100644 (file)
@@ -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";
 }