{{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 skips spam scoring entirely, always landing in INBOX — use it for a trusted sender rspamd or the built-in filter keeps flagging.
Add entry
Blocked — goes to Junk
{{if .blocked}}
    {{range .blocked}}
  • {{.Pattern}}
  • {{end}}
{{else}}

Nothing blocked yet.

{{end}}
Whitelisted — never spam
{{if .allowed}}
    {{range .allowed}}
  • {{.Pattern}}
  • {{end}}
{{else}}

Nothing whitelisted yet.

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