Hello. It has come to my attention that all my sites and new sites created get DELETE_THRESHOLD=“7.0”.
It’s an awfully low limit because this would mean that all mail that get 7 or higher in score would get deleted and not put inside of .Spam folder. Rspamd currently marks mail that have a score of 8 or higher as SPAM and deletes those that have a score of 7 or higher.
This seems like a miss configuration. Would you please advice?
cat /home/virtual/site1/fst/etc/maildroprc
MAX_SCAN=524288
DELETE_THRESHOLD="7.0"
if ($SIZE < $MAX_SCAN)
{
exception {
#xfilter "/usr/bin/spamc -u $LOGNAME"
}
}
if (/^X-Spam(?:-Flag)?: Yes/)
{
/^X-Spam-Score: ([-\.\d]+)/
if ($MATCH1 >= $DELETE_THRESHOLD)
{
to /dev/null
}
else
{
to Mail/.Spam/
}
}
Relevant command outputs
cpcmd scope:get mail.spam-filter
rspamd