Rspamd: replace reject_unknown_client_hostname with Rspamd HFILTER_HOSTNAME_UNKNOWN and make it configurable (#3248)

This commit is contained in:
Georg Lauterbach 2023-04-11 18:51:23 +02:00 committed by GitHub
parent 806d3efef9
commit 9a284150b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 96 additions and 7 deletions

View 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
}
}

View file

@ -1 +1,2 @@
pidfile = false;
soft_reject_on_timeout = true;