mox/testdata/smtp/domains.conf
Mechiel Lukkien 6da5f8f586
add config option to an account destination to reject messages that don't pass a dmarc-like aligned spf/aligned dkim check
intended for automated processors that don't want to send messages to senders
without verified domains (because the address may be forged, and the processor
doesn't want to bother innocent bystanders).

such delivery attempts will fail with a permanent error immediately, typically
resulting in a DSN message to the original sender. the configurable error
message will normally be included in the DSN, so it could have alternative
instructions.
2025-02-15 17:34:06 +01:00

52 lines
1.1 KiB
Plaintext

Domains:
mox.example:
Aliases:
public:
Addresses:
- mjl@mox.example
- móx@mox.example
PostPublic: true
AllowMsgFrom: true
private:
Addresses:
- mjl@mox.example
- móx@mox.example
mox2.example: nil
disabled.example:
Disabled: true
Accounts:
mjl:
Domain: mox.example
Destinations:
mjl@mox.example: nil
mjl@mox2.example: nil
""@mox.example: nil
# ascii o, we'll check that greek & cyrillic lookalike isn't accepted
o@mox.example: nil
# ohm sign, \u2126
Ω@mox.example: nil
móx@mox.example: nil
blocked@mox.example:
SMTPError: 550 no more messages
msgauthrequired@mox.example:
MessageAuthRequiredSMTPError: cannot authenticate domain in message-from header, ensure aligned spf/dkim pass
mjl@disabled.example: nil
JunkFilter:
Threshold: 0.9
Params:
Onegrams: true
MaxPower: 0.01
TopWords: 10
IgnoreWords: 0.1
RareWords: 2
# not a member of an alias.
☺:
Domain: mox.example
Destinations:
☺@mox.example: nil
disabled:
Domain: mox.example
LoginDisabled: testing
Destinations:
disabled@mox.example: nil