diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
commit | 133a45c109da5310add55824db21af5239951f93 (patch) | |
tree | ba6ac4c0a950a0dda56451944315d66409923918 /conf/actions.conf | |
parent | Initial commit. (diff) | |
download | rspamd-upstream.tar.xz rspamd-upstream.zip |
Adding upstream version 3.8.1.upstream/3.8.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'conf/actions.conf')
-rw-r--r-- | conf/actions.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/conf/actions.conf b/conf/actions.conf new file mode 100644 index 0000000..8be3823 --- /dev/null +++ b/conf/actions.conf @@ -0,0 +1,29 @@ +# Actions settings +# Please don't modify this file as your changes might be overwritten with +# the next update. +# +# You can modify 'local.d/actions.conf' to add and merge +# parameters defined inside this section +# +# You can modify 'override.d/actions.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 +# +# See also https://rspamd.com/doc/faq.html#what-are-rspamd-actions for actions definition + +actions { + reject = 15; # Reject when reaching this score + add_header = 6; # Add header when reaching this score + greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`) + + #unknown_weight = 1.0; # Enable if need to set score for all symbols implicitly + # Each new symbol is added multiplied by gf^N, where N is the number of spammy symbols + #grow_factor = 1.1; + # Set rewrite subject to this value (%s is replaced by the original subject) + #subject = "***SPAM*** %s" + + .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/actions.conf" + .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/actions.conf" +} |