mirror of
https://github.com/mjl-/mox.git
synced 2024-12-28 01:13:47 +03:00
2c07645ab4
current behaviour isn't intuitive. it's not great to have to attempt parsing the strings as both localpart and email address. so we deprecate the localpart-only behaviour. when we load the config file, and it has localpart-only Destinations keys, we'll change them to full addresses in memory. when an admin causes a write of domains.conf, it'll automatically be fixed. we log an error with a deprecated notice for each localpart-only destinations key. sometime in the future, we can remove the old localpart-only destination support. will be in the release notes then. also start keeping track of update notes that need to make it in the release notes of the next release. for issue #18
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
Domains:
|
|
mox.example: nil
|
|
Accounts:
|
|
mjl:
|
|
Domain: mox.example
|
|
Destinations:
|
|
mjl@mox.example: nil
|
|
RejectsMailbox: Rejects
|
|
JunkFilter:
|
|
# Spamminess score between 0 and 1 above which emails are rejected as spam. E.g.
|
|
# 0.95.
|
|
Threshold: 0.95
|
|
Params:
|
|
# Track ham/spam ranking for single words. (optional)
|
|
Onegrams: false
|
|
|
|
# Track ham/spam ranking for each two consecutive words. (optional)
|
|
Twograms: true
|
|
|
|
# Track ham/spam ranking for each three consecutive words. (optional)
|
|
Threegrams: false
|
|
|
|
# Maximum power a word (combination) can have. If spaminess is 0.99, and max power
|
|
# is 0.1, spaminess of the word will be set to 0.9. Similar for ham words.
|
|
MaxPower: 0.1
|
|
|
|
# Number of most spammy/hammy to use for calculating probability. E.g. 10.
|
|
TopWords: 10
|
|
|
|
# Ignore words that are this much away from 0.5 haminess/spaminess. E.g. 0.1,
|
|
# causing word (combinations) of 0.4 to 0.6 to be ignored. (optional)
|
|
IgnoreWords: 0.1
|
|
|
|
# Occurrences in word database until a word is considered rare and its influence
|
|
# in calculating probability reduced. E.g. 1 or 2. (optional)
|
|
RareWords: 0
|