mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33: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
15 lines
252 B
Text
15 lines
252 B
Text
Domains:
|
|
mox.example:
|
|
LocalpartCaseSensitive: false
|
|
Accounts:
|
|
mjl:
|
|
Domain: mox.example
|
|
Destinations:
|
|
mjl@mox.example: nil
|
|
JunkFilter:
|
|
Threshold: 0.95
|
|
Params:
|
|
Twograms: true
|
|
MaxPower: 0.1
|
|
TopWords: 10
|
|
IgnoreWords: 0.1
|