Skip to main content
Version: 1.7.61

Email Filters

OpenPanel uses Sieve (via Dovecot) to filter incoming email messages for your accounts.

Each email address can have its own set of filters. Filters are applied in order, top to bottom, and can match on headers, body content, spam status, and more.

Creating a Filter​

  1. Go to OpenPanel > Emails > Email Filters.
  2. Select the email address you want to manage filters for.
  3. Click Add filter and give the filter a name.
  4. Configure one or more conditions — the fields and values that must match.
  5. Add one or more actions to perform when conditions are met.
  6. Click Save filters.

Conditions​

Each filter can match on any or all of its conditions:

FieldDescription
FromSender address
SubjectEmail subject line
ToPrimary recipient
Any recipientTo, Cc, or Bcc
BodyMessage body text
Any headerAny email header field
Spam statusSpamAssassin spam flag
Spam scoreSpamAssassin numeric score
List IDMailing list identifier header

Each condition supports: contains, does not contain, equals, begins with, ends with, matches regex, does not match regex.

Actions​

When conditions are met, one or more actions are executed:

ActionDescription
Deliver to folderMove the message into a specific mailbox folder
Redirect to emailForward the message to another address
Discard messageSilently delete the message
Reject with messageBounce the message with a custom reason
Mark as readMark the message as seen
Flag / starAdd a flag to the message
Stop processingSkip any remaining filters