mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
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.
This commit is contained in:
@ -1150,6 +1150,17 @@ See https://pkg.go.dev/github.com/mjl-/sconf for details.
|
||||
# (optional)
|
||||
SMTPError:
|
||||
|
||||
# If non-empty, an additional DMARC-like message authentication check is done for
|
||||
# incoming messages, validating the domain in the From-header of the message.
|
||||
# Messages without either an aligned SPF or aligned DKIM pass are rejected during
|
||||
# the SMTP DATA command with a permanent error code followed by the message in
|
||||
# this field. The domain in the message 'From' header is matched in relaxed or
|
||||
# strict mode according to the domain's DMARC policy if present, or relaxed mode
|
||||
# (organizational instead of exact domain match) otherwise. Useful for
|
||||
# autoresponders that don't want to accept messages they don't want to send an
|
||||
# automated reply to. (optional)
|
||||
MessageAuthRequiredSMTPError:
|
||||
|
||||
# Full name to use in message From header when composing messages coming from this
|
||||
# address with webmail. (optional)
|
||||
FullName:
|
||||
|
Reference in New Issue
Block a user