{{define "title"}}Filter Rules - Email Server{{end}} {{define "page_title"}}Filter Rules{{end}} {{define "content"}}

Filter Rules {{.mailbox.Email}}

Back to Mailboxes
Rules run in priority order (lowest first) at delivery time; the first match wins. "Move to folder" delivers into a separate IMAP folder instead of INBOX — your mail client will show it once mail has actually landed there.
Add Rule
Existing Rules
{{if .rules}}
{{range .rules}} {{end}}
PriorityConditionActionStatusActions
{{.Priority}} {{.ConditionField}} {{.ConditionOp}} "{{.ConditionValue}}" {{if eq .Action "move_to_folder"}}Move to {{.ActionValue}} {{else if eq .Action "delete"}}Delete {{else}}Mark as read{{end}} {{if .IsActive}}Active{{else}}Inactive{{end}}
{{else}}

No rules yet

Add one above to automatically sort or act on incoming mail.

{{end}}
{{end}} {{define "extra_js"}} {{end}}