diff options
author | Andrew Lewis <nerf@judo.za.org> | 2018-03-26 10:31:25 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2018-03-26 10:31:25 +0200 |
commit | 3271ac46929b7a7b2b265d3869a34cd0df280bf5 (patch) | |
tree | e452b7de1a35ab7a33954418518f06f2499727c3 | |
parent | bc8ffb4c0f1a75b45dc8c78ec3a19a66ed0ff8b7 (diff) | |
download | rspamd-3271ac46929b7a7b2b265d3869a34cd0df280bf5.tar.gz rspamd-3271ac46929b7a7b2b265d3869a34cd0df280bf5.zip |
[Minor] Use single quotes in some config samples
-rw-r--r-- | conf/modules.d/antivirus.conf | 2 | ||||
-rw-r--r-- | conf/modules.d/multimap.conf | 4 |
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"; } |