mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
Rspamd: replace reject_unknown_client_hostname
with Rspamd HFILTER_HOSTNAME_UNKNOWN
and make it configurable (#3248)
This commit is contained in:
parent
806d3efef9
commit
9a284150b2
9 changed files with 96 additions and 7 deletions
11
target/rspamd/local.d/hfilter_group.conf
Normal file
11
target/rspamd/local.d/hfilter_group.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
symbols = {
|
||||
"HFILTER_HOSTNAME_UNKNOWN" {
|
||||
# We add 6 because we need a score of exactly 6 for the `add_header`
|
||||
# action to trigger; that's the least we want to happen.
|
||||
#
|
||||
# This is meant as a replacement for `reject_unknown_client_hostname`
|
||||
# (see https://www.postfix.org/postconf.5.html#reject_unknown_client_hostname)
|
||||
# which Postfix can employ to directly reject emails.
|
||||
score = 6; # __TAG__HFILTER_HOSTNAME_UNKNOWN
|
||||
}
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
pidfile = false;
|
||||
soft_reject_on_timeout = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue