Use rspamd as a milter service instead of deprecated rmilter
This commit is contained in:
@@ -155,11 +155,10 @@ plugin {
|
||||
# Include the recipient in vacation replies so that DKIM applies
|
||||
sieve_vacation_send_from_recipient = yes
|
||||
|
||||
# extract spam score from
|
||||
# X-Spam-Result: .... [<value> / <max_value] ...
|
||||
sieve_spamtest_status_type = score
|
||||
sieve_spamtest_status_header = X-Spamd-Result: .*\[(-?[[:digit:]]+\.[[:digit:]]+) .*\]
|
||||
sieve_spamtest_max_header = X-Spamd-Result: .*\[.* ([[:digit:]]+\.[[:digit:]]+)\]
|
||||
# extract spam score from headers
|
||||
sieve_spamtest_status_type = strlen
|
||||
sieve_spamtest_status_header = X-Spam-Level
|
||||
sieve_spamtest_max_value = 15
|
||||
|
||||
# Learn from spam
|
||||
imapsieve_mailbox1_name = Junk
|
||||
|
||||
Reference in New Issue
Block a user