{{define "webmail_blocklist.html"}} Settings - Webmail {{template "webmail_settings_style" .}} {{template "csrf_script" .}}
{{range .flashes}} {{end}}
Settings
{{template "webmail_settings_nav" .}}
An address or a whole domain (@example.com). Block quarantines matching mail straight to Junk without scoring it — the same action as right-click > Mark as Junk. Whitelist suppresses just the check(s) you pick (SPF/DKIM/DMARC/Spam), or everything with All — inbound mail failing SPF, DKIM, DMARC, or the spam filter otherwise always lands in Junk with a ***...*** subject tag, regardless of your own filter rules.
Add entry
Blocked — goes to Junk
{{if .blocked}}
    {{range .blocked}}
  • {{.Pattern}}
  • {{end}}
{{else}}

Nothing blocked yet.

{{end}}
Whitelisted
{{if .allowed}}
    {{range .allowed}}
  • {{.Pattern}} {{if eq .Scope "all"}}All{{else if eq .Scope "spf"}}SPF{{else if eq .Scope "dkim"}}DKIM{{else if eq .Scope "dmarc"}}DMARC{{else}}Spam{{end}}
  • {{end}}
{{else}}

Nothing whitelisted yet.

{{end}}
{{template "compose_widget" .}} {{template "webmail_settings_script" .}} {{end}}