mox/testdata/webmail/domains.conf
Mechiel Lukkien 9a8bb1134b
Allow multiple localpart catch all separators, e.g. both "+" and "-", for addresses you+anything@example.com and you-anything@example.com
The original config option stays, and we still use it for the common case where
we have a single separator. The "+" is configured by default. It is optional,
just like the new option "LocalpartCatchallSeparators" (plural).

When parsing the config file, we combine LocalpartCatchallSeparator and
LocalpartCatchallSeparators into a single list
LocalpartCatchallSeparatorsEffective, which we use throughout the code.

For issue #301 by janc13
2025-03-07 14:42:19 +01:00

43 lines
812 B
Plaintext

Domains:
disabled.example:
Disabled: true
mox.example:
LocalpartCatchallSeparators:
- +
- -
DKIM:
Selectors:
testsel:
PrivateKeyFile: testsel.rsakey.pkcs8.pem
Sign:
- testsel
other.example: nil
Accounts:
disabled:
LoginDisabled: testing
Domain: mox.example
Destinations:
disabled@mox.example: nil
mjl:
Domain: mox.example
Destinations:
mjl@disabled.example: nil
mjl@mox.example: nil
mox@other.example: nil
móx@mox.example: nil
møx@mox.example: nil
RejectsMailbox: Rejects
JunkFilter:
Threshold: 0.950000
Params:
Twograms: true
MaxPower: 0.100000
TopWords: 10
IgnoreWords: 0.100000
MaxOutgoingMessagesPerDay: 30
MaxFirstTimeRecipientsPerDay: 10
other:
Domain: mox.example
Destinations:
other@mox.example: nil