store rejects for 14 days, and don't keep them as neutral by default so they won't cause outright rejects for repeated delivery attempts of spam messages

the previous default, marking the messages as junk had the interesting effect
of training the junk filter. rejecting could have been the result of the
sending IP being in the DNSBL. so the DNSBL helped to automatically train the
junk filter. perhaps we can keep that in the future and just not take messages
from the rejects mailbox into account when evaluating the reputation for
incoming deliveries.
This commit is contained in:
Mechiel Lukkien
2023-02-13 10:47:20 +01:00
parent 87854cfde3
commit 707d3a3fa0
5 changed files with 16 additions and 13 deletions

View File

@ -435,16 +435,17 @@ describe-static" and "mox config describe-domains":
AutomaticJunkFlags:
# If enabled, flags will be set automatically if they match a regular expression
# below. When two lists are set, the empty list will match all remaining messages.
# Messages are matched in the order specified and the search stops on the first
# match. Mailboxes are lowercased before matching.
# below. When two of the three mailbox regular expressions are set, the remaining
# one will match all unmatched messages. Messages are matched in the order
# specified and the search stops on the first match. Mailboxes are lowercased
# before matching.
Enabled: false
# Example: ^(junk|spam|rejects). (optional)
# Example: ^(junk|spam). (optional)
JunkMailboxRegexp:
# Example: ^(inbox|neutral|postmaster|dmarc|tlsrpt), and you may wish to add trash
# depending on how you use it, or leave this empty. (optional)
# Example: ^(inbox|neutral|postmaster|dmarc|tlsrpt|rejects), and you may wish to
# add trash depending on how you use it, or leave this empty. (optional)
NeutralMailboxRegexp:
# Example: .* or an empty string. (optional)