Переглянути джерело

[Conf] Update header

tags/2.0
Vsevolod Stakhov 4 роки тому
джерело
коміт
ccfcc94337
43 змінених файлів з 308 додано та 335 видалено
  1. 7
    8
      conf/modules.d/antivirus.conf
  2. 10
    8
      conf/modules.d/arc.conf
  3. 7
    8
      conf/modules.d/asn.conf
  4. 7
    8
      conf/modules.d/chartable.conf
  5. 7
    8
      conf/modules.d/clickhouse.conf
  6. 7
    8
      conf/modules.d/dcc.conf
  7. 7
    8
      conf/modules.d/dkim.conf
  8. 6
    9
      conf/modules.d/dkim_signing.conf
  9. 7
    8
      conf/modules.d/dmarc.conf
  10. 14
    0
      conf/modules.d/elastic.conf
  11. 3
    1
      conf/modules.d/emails.conf
  12. 7
    8
      conf/modules.d/external_services.conf
  13. 7
    8
      conf/modules.d/force_actions.conf
  14. 7
    8
      conf/modules.d/forged_recipients.conf
  15. 7
    8
      conf/modules.d/fuzzy_check.conf
  16. 7
    8
      conf/modules.d/greylist.conf
  17. 7
    8
      conf/modules.d/hfilter.conf
  18. 7
    8
      conf/modules.d/history_redis.conf
  19. 7
    8
      conf/modules.d/maillist.conf
  20. 7
    8
      conf/modules.d/metadata_exporter.conf
  21. 7
    9
      conf/modules.d/metric_exporter.conf
  22. 7
    8
      conf/modules.d/mid.conf
  23. 7
    8
      conf/modules.d/milter_headers.conf
  24. 7
    8
      conf/modules.d/mime_types.conf
  25. 7
    8
      conf/modules.d/multimap.conf
  26. 7
    8
      conf/modules.d/mx_check.conf
  27. 7
    8
      conf/modules.d/neural.conf
  28. 7
    8
      conf/modules.d/once_received.conf
  29. 7
    8
      conf/modules.d/p0f.conf
  30. 7
    8
      conf/modules.d/phishing.conf
  31. 7
    8
      conf/modules.d/ratelimit.conf
  32. 7
    8
      conf/modules.d/rbl.conf
  33. 6
    7
      conf/modules.d/redis.conf
  34. 7
    8
      conf/modules.d/regexp.conf
  35. 7
    8
      conf/modules.d/replies.conf
  36. 7
    12
      conf/modules.d/reputation.conf
  37. 10
    8
      conf/modules.d/rspamd_update.conf
  38. 7
    8
      conf/modules.d/spamassassin.conf
  39. 7
    8
      conf/modules.d/spamtrap.conf
  40. 7
    9
      conf/modules.d/spf.conf
  41. 7
    8
      conf/modules.d/trie.conf
  42. 7
    8
      conf/modules.d/url_redirector.conf
  43. 7
    8
      conf/modules.d/whitelist.conf

+ 7
- 8
conf/modules.d/antivirus.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/antivirus.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/antivirus.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/antivirus.html

antivirus {
# multiple scanners could be checked, for each we create a configuration block with an arbitrary name

+ 10
- 8
conf/modules.d/arc.conf Переглянути файл

@@ -1,14 +1,16 @@
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'local.d/arc.conf' to add and merge
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# You can modify 'override.d/arc.conf' to strictly override all
# parameters defined inside this section
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# Module documentation can be found at https://rspamd.com/doc/modules/arc.html


# To configure this module, please also check the following document:

+ 7
- 8
conf/modules.d/asn.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/asn.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/asn.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/asn.html

asn {
# Provider: just "rspamd" for now

+ 7
- 8
conf/modules.d/chartable.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/chartable.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/chartable.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/chartable.html

chartable {
threshold = 0.300000;

+ 7
- 8
conf/modules.d/clickhouse.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/clickhouse.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/clickhouse.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/clickhouse.html


clickhouse {

+ 7
- 8
conf/modules.d/dcc.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/dcc.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/dcc.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/dcc.html

dcc {


+ 7
- 8
conf/modules.d/dkim.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/dkim.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/dkim.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/dkim.html

dkim {
dkim_cache_size = 2k;

+ 6
- 9
conf/modules.d/dkim_signing.conf Переглянути файл

@@ -1,17 +1,14 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/dkim_signing.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/dkim_signing.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details


# To configure this module, please also check the following document:

+ 7
- 8
conf/modules.d/dmarc.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/dmarc.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/dmarc.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/dmarc.html

dmarc {
.include(try=true,priority=5) "${DBDIR}/dynamic/dmarc.conf"

+ 14
- 0
conf/modules.d/elastic.conf Переглянути файл

@@ -1,3 +1,17 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify 'local.d/elastic.conf' to add and merge
# parameters defined inside this section
#
# You can modify 'override.d/elastic.conf' to strictly override all
# parameters defined inside this section
#
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# Module documentation can be found at https://rspamd.com/doc/modules/elastic.html

elastic {
# Push update when 10 records are collected (10 if unset)
limit = 10;

+ 3
- 1
conf/modules.d/emails.conf Переглянути файл

@@ -1,4 +1,6 @@
# Deprecated! Use rbl module
# Deprecated, preserved for compatibility purposes! Use rbl module
# Module documentation https://rspamd.com/doc/modules/rbl.html

emails {
.include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf"

+ 7
- 8
conf/modules.d/external_services.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/external_services.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/external_services.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/external_services.html

external_services {
oletools {

+ 7
- 8
conf/modules.d/force_actions.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/force_actions.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/force_actions.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/force_actions.html

force_actions {


+ 7
- 8
conf/modules.d/forged_recipients.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/forged_recipients.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/forged_recipients.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/forged_recipients.html

forged_recipients {
symbol_sender = "FORGED_SENDER";

+ 7
- 8
conf/modules.d/fuzzy_check.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/fuzzy_check.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/fuzzy_check.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/fuzzy_check.html

fuzzy_check {
min_bytes = 1k; # Since small parts and small attachments causes too many FP

+ 7
- 8
conf/modules.d/greylist.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/greylist.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/greylist.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/greylisting.html

greylist {
# Search "example.com" and "mail.example.com" for "mx.out.mail.example.com":

+ 7
- 8
conf/modules.d/hfilter.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/hfilter.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/hfilter.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/hfilter.html

hfilter {
helo_enabled = true;

+ 7
- 8
conf/modules.d/history_redis.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/history_redis.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/history_redis.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/history_redis.html

history_redis {
#servers = 127.0.0.1:6379; # Redis server to store history

+ 7
- 8
conf/modules.d/maillist.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/maillist.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/maillist.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/maillist.html

maillist {
symbol = "MAILLIST";

+ 7
- 8
conf/modules.d/metadata_exporter.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/metadata_exporter.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/metadata_exporter.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/metadata_exporter.html

metadata_exporter {


+ 7
- 9
conf/modules.d/metric_exporter.conf Переглянути файл

@@ -1,18 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/metric_exporter.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/metric_exporter.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details

# Module documentation can be found at https://rspamd.com/doc/modules/metric_exporter.html
metric_exporter {

# Refer to https://rspamd.com/doc/modules/metric_exporter.html for information on configuration

+ 7
- 8
conf/modules.d/mid.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/mid.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/mid.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/mid.html

mid = {
source = {

+ 7
- 8
conf/modules.d/milter_headers.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/milter_headers.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/milter_headers.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/milter_headers.html

milter_headers {


+ 7
- 8
conf/modules.d/mime_types.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/mime_types.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/mime_types.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/mime_types.html

mime_types {
file = [

+ 7
- 8
conf/modules.d/multimap.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/multimap.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/multimap.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/multimap.html

multimap {
# Freemail Addresses

+ 7
- 8
conf/modules.d/mx_check.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/mx_check.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/mx_check.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/mx_check.html

# This module is *DISABLED* by default
# If you need to enable it, then define the following line in

+ 7
- 8
conf/modules.d/neural.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/neural.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/neural.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/neural.html

neural {
#servers = 127.0.0.1:6379; # Redis server to store learning data and ANN

+ 7
- 8
conf/modules.d/once_received.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/once_received.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/once_received.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/once_received.html

once_received {
good_host = "mail";

+ 7
- 8
conf/modules.d/p0f.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/p0f.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/p0f.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/p0f.html

p0f {
# Disable module by default

+ 7
- 8
conf/modules.d/phishing.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/phishing.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/phishing.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/phishing.html

phishing {
symbol = "PHISHING";

+ 7
- 8
conf/modules.d/ratelimit.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/ratelimit.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/ratelimit.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/ratelimit.html

ratelimit {
#rates {

+ 7
- 8
conf/modules.d/rbl.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/rbl.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/rbl.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/rbl.html

rbl {
default_from = true;

+ 6
- 7
conf/modules.d/redis.conf Переглянути файл

@@ -1,15 +1,14 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/redis.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/redis.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/configuration/redis.html


+ 7
- 8
conf/modules.d/regexp.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/regexp.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/regexp.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/regexp.html

regexp {
max_size = 1M;

+ 7
- 8
conf/modules.d/replies.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/replies.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/replies.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/replies.html

replies {
# This setting is non-default & is required to be set

+ 7
- 12
conf/modules.d/reputation.conf Переглянути файл

@@ -1,21 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/reputation.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/reputation.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details


# Reputation module is experimental! (you need to enable experimental modules
# explicitly in options by setting `enable_experimental = true`)
# Module documentation can be found at https://rspamd.com/doc/modules/reputation.html

reputation {
# rules {

+ 10
- 8
conf/modules.d/rspamd_update.conf Переглянути файл

@@ -1,17 +1,19 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/rspamd_update.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/rspamd_update.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/rspamd_update.html

# This module is disabled by default, please don't enable it unless you know
# what are you doing!

rspamd_update {
rules = "sign+https://updates.rspamd.com/rspamd-${BRANCH_VERSION}.ucl";

+ 7
- 8
conf/modules.d/spamassassin.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/spamassassin.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/spamassassin.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/spamassassin.html

spamassassin {
# This config defines no SA files leaving this module efficiently disabled by default

+ 7
- 8
conf/modules.d/spamtrap.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/spamtrap.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/spamtrap.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/spamtrap.html

# This module is *DISABLED* by default
# If you need to enable it, then define the following line in

+ 7
- 9
conf/modules.d/spf.conf Переглянути файл

@@ -1,18 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/spf.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/spf.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details

# Module documentation can be found at https://rspamd.com/doc/modules/spf.html
spf {
spf_cache_size = 2k;
spf_cache_expire = 1d;

+ 7
- 8
conf/modules.d/trie.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/trie.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/trie.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/trie.html

trie {
# Each subsection defines a single rule with associated symbol

+ 7
- 8
conf/modules.d/url_redirector.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/url_redirector.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/url_redirector.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/url_redirector.html

url_redirector {
expire = 1d; # 1 day by default

+ 7
- 8
conf/modules.d/whitelist.conf Переглянути файл

@@ -1,17 +1,16 @@
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
# You can modify 'local.d/whitelist.conf' to add and merge
# parameters defined inside this section
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
# You can modify 'override.d/whitelist.conf' to strictly override all
# parameters defined inside this section
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
# Module documentation can be found at https://rspamd.com/doc/modules/whitelist.html

whitelist {
rules {

Завантаження…
Відмінити
Зберегти