From: Vsevolod Stakhov Date: Fri, 11 Oct 2019 08:34:40 +0000 (+0100) Subject: [Conf] Clarify documentation in the config files X-Git-Tag: 2.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0004af0229a615d166716ed65ea1c3aff11f9fb;p=thirdparty%2Frspamd.git [Conf] Clarify documentation in the config files --- diff --git a/conf/actions.conf b/conf/actions.conf index 75b0d2f73d..a141be7780 100644 --- a/conf/actions.conf +++ b/conf/actions.conf @@ -2,17 +2,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/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/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 +# See also https://rspamd.com/doc/faq.html#what-are-rspamd-actions for actions definition actions { reject = 15; # Reject when reaching this score diff --git a/conf/cgp.inc b/conf/cgp.inc index fd71fa5a6b..436713cff7 100644 --- a/conf/cgp.inc +++ b/conf/cgp.inc @@ -1,3 +1,9 @@ +# Please don't modify this file as your changes might be overwritten with +# the next update. +# +# This file defines some specific settings that are applicable merely when using +# CommuniGate Pro MTA and it's specific integration + arc { sign_networks = [127.2.4.7]; } diff --git a/conf/common.conf b/conf/common.conf index a8025f314a..023fd5125f 100644 --- a/conf/common.conf +++ b/conf/common.conf @@ -1,4 +1,4 @@ -# A common rspamd configuration file +# A common rspamd configuration file (should never ever be changed) # Please don't modify this file as your changes might be overwritten with # the next update. # diff --git a/conf/composites.conf b/conf/composites.conf index 2204f1e713..def043f1b6 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -2,15 +2,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/composites.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/composites.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 and # https://rspamd.com/doc/configuration/composites.html for details diff --git a/conf/groups.conf b/conf/groups.conf index 51e2a6522d..bf783cc2f2 100644 --- a/conf/groups.conf +++ b/conf/groups.conf @@ -4,17 +4,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/groups.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/groups.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 +# See also: https://rspamd.com/doc/faq.html#how-to-change-score-for-some-symbol group "headers" { .include "$CONFDIR/scores.d/headers_group.conf" diff --git a/conf/logging.inc b/conf/logging.inc index ebdbfc1102..00dba3915a 100644 --- a/conf/logging.inc +++ b/conf/logging.inc @@ -1,4 +1,17 @@ -# Included from top-level .conf file +# Logging configuration +# Please don't modify this file as your changes might be overwritten with +# the next update. +# +# You can modify 'local.d/logging.inc' to add and merge +# parameters defined inside this section +# +# You can modify 'override.d/logging.inc' 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 +# +# Relevant documentation: https://rspamd.com/doc/configuration/logging.html level = "info"; log_format =<