Why mail categories in OX App Suite depend on your mail backend
Mail categories in OX App Suite only work if your mail server can store and search the right metadata. Categorization depends on IMAP user flags and keyword search support on the mail backend. If your server cannot set and query those flags, users will see categories in the interface that do not stick across sessions or clients. Teams usually need this when they want rule-based sorting of incoming mail into categories, or when they want the same categories to appear consistently in webmail, mobile clients and desktop clients. Before you plan a rollout, check how your current IMAP service handles user flags and keyword search, because that answer decides whether the feature is a configuration task or a backend change.
The requirement is a chain, not a single setting. Rule-based sorting that runs on delivery usually involves a Sieve server that can apply the imap4flags extension, together with the mailfilter package that OX App Suite uses to manage those rules. Each link also depends on versions of Dovecot and its Pigeonhole Sieve plugin. The exact recommended versions are not confirmed on this page. Check them against the vendor documentation for the OX App Suite release you plan to run, and confirm that your Dovecot and Pigeonhole packages match that guidance. A version that works for basic IMAP may still lack the flag or Sieve behavior the categories need.
Treat this as a pre-build check. Ask your mail team to confirm, in writing, that the IMAP service supports user flags and keyword search, that the Sieve server runs imap4flags, and that the installed versions are on the vendor's recommended list for your release. Record any gap and decide whether to upgrade the mail backend, limit categories to a subset of features, or move the work into a separate phase. Ask DeployOpen for a written scope that covers this verification and any backend changes before the category build begins, so the dependency is agreed upfront rather than discovered during testing.
How a category flag travels from delivery to the App Suite client
The flow starts when the mail backend accepts a message and, if a Sieve script is configured, runs it to set imap4flags or keywords on the stored message. Dovecot then keeps those flags on the mailbox, and the App Suite middleware reads them over IMAP and uses keyword search to group messages into categories. Where categories come only from flags users set themselves, the Sieve step can be skipped. Check that the middleware's IMAP session can read and search the keywords on the mailbox.
Category flags move from delivery through Dovecot to App Suite over IMAP.
Which category setup fits which mail backend
This table compares the three ways a mail backend can supply categories to OX App Suite: the IMAP user flag and keyword search, a Sieve server with imap4flags, and the mailfilter package on the App Suite side. Read each row as a question to answer about your current backend, then check which combination your environment supports. The main takeaway is that category support depends on what your mail server already exposes, so confirm the backend capabilities before choosing a setup.
| Option | What it enables | What it depends on | When it fits |
|---|---|---|---|
| IMAP user flag and keyword search | Mailbox-level flags and keyword search that App Suite can use to tag and sort messages | An IMAP server that supports user flags and keyword search on the mailbox; confirm with the backend vendor | Existing IMAP backend without Sieve, or where categories only need to follow what the mailbox stores |
| Sieve server with imap4flags | Rules that set categories on message delivery, so messages arrive already categorized | A Sieve implementation with the imap4flags extension and a compatible Dovecot and Pigeonhole setup; confirm recommended versions | Existing Dovecot with Pigeonhole, where delivery-time categorization is wanted for all clients |
| Mailfilter package on the App Suite side | User-editable server-side rules managed from App Suite and executed by the mail backend | A Sieve server with ManageSieve access and the mailfilter package enabled in App Suite | Deployments that also need users to edit server-side rules inside App Suite |
| Backend without Sieve | Category support limited to the flag and keyword mechanisms the mailbox offers | No Sieve service; delivery-time rules must be handled elsewhere or not at all | Mail platforms where Sieve cannot be added; plan for categories applied after delivery |
| Rules editable outside App Suite | Filter scripts that other clients can also manage over ManageSieve | Sieve scripts kept as the source of truth and a plan for conflicting edits | Teams that want rule ownership to stay with the mail platform rather than App Suite |
What the mail backend must provide before categories work
Mail categories depend on three things the mail backend must provide, and the mailbox server is where they are either present or missing. First, the IMAP mailbox must accept and store user flags and keywords, so that App Suite can write a category marker onto a message and read it back later. Second, keyword search must work on that mailbox, so App Suite can ask the server for every message carrying a given category instead of downloading and sorting mail itself. Third, if you expect rules to assign categories as mail arrives, the Sieve server must support the imap4flags extension, which lets a script set flags on a message during delivery. If any one of these is missing, categories either fail to save, fail to filter, or only apply to mail that a user sorts by hand.
Dovecot with the Pigeonhole Sieve plugin is the common pairing for these capabilities, but the requirement is about capability, not about a specific product. Another IMAP server or Sieve implementation can meet the same conditions, and a server that runs Dovecot can still be configured in a way that omits one of them. Do not assume support from the product name or from a version number you remember. Check each capability on the server you will actually run: confirm that a test user can set and clear a keyword over IMAP, that a keyword search returns the expected messages, and that a test Sieve script using imap4flags changes the flags of a delivered message. Record the exact server and plugin versions you tested, because the supported combinations for categories are listed in the Open-Xchange documentation and should be checked against your own build rather than inferred.
Treat these checks as a go or no-go gate before any category configuration, and run them again after every mail server upgrade, since a change to the plugin or the mailbox format can remove a capability without any visible error at login. Ask your mail vendor or the Open-Xchange team to confirm the recommended versions for your App Suite release, and plan a test mailbox that mirrors production storage and authentication. Where a check fails, the fix usually lies in the mail server configuration or its plugins, so budget that work separately from the App Suite configuration.
How to enable mail categories in OX App Suite step by step
This sequence takes a mail backend from an unverified state to a pilot group using mail categories in a real client session, with a check at each stage so problems surface before rollout. It is written to apply across environments, with release-specific values confirmed against the vendor documentation for the chosen versions.
Confirm the mail backend version and IMAP capabilities
The mail or platform engineer records the Dovecot version in use and the IMAP capabilities it advertises to clients, then compares them with the versions and requirements listed in the Open-Xchange documentation for the App Suite release you plan to run. Check the App Suite requirements for the recommended Dovecot and Pigeonhole pairing and confirm it against your distribution's packages. Done when the version record and the capability output are saved in the change ticket and any gap is logged as a blocker or an accepted risk.
Test user flag and keyword storage on a test mailbox
On a dedicated test mailbox, the mail engineer sets and reads custom IMAP keywords on sample messages using an IMAP client, then confirms the flags persist after reconnecting and after the message is moved between folders. Confirm with the vendor documentation which keyword names and storage behavior your App Suite release expects for categories. Done when the test log shows each flag written, read back and retained, with the mailbox and message identifiers recorded.
Confirm keyword search returns results
The engineer runs IMAP SEARCH queries for the same keywords against the test mailbox, including messages in several folders and a message that has more than one keyword. The results should match the set of messages the test step marked. Check the Open-Xchange requirements for any search-related settings and whether your backend index or search plugin must be enabled. Done when every expected message is returned and no unmarked message appears, which means category filtering in the client will have reliable data to work from.
Verify Sieve and imap4flags support if rules are planned
If the rollout will also use server-side rules that act on categories, the engineer confirms that the Sieve server supports the imap4flags extension and that the ManageSieve service accepts scripts from the App Suite middleware account. Send a test message that a sample script should file based on a flag, then check that the flag is set in the mailbox. Confirm the supported Sieve extensions and Pigeonhole version with the vendor documentation for your release. Done when a test script runs on delivery, sets the expected flag and leaves a log entry, or when the gap is recorded and rules are removed from the pilot scope.
Install and configure the mailfilter package
The platform engineer installs the mailfilter package into the App Suite deployment and points it at the Sieve and ManageSieve endpoints verified in the previous steps, using the configuration keys named in the vendor documentation for the release. Apply the change through the chart or configuration process you use for the cluster, then restart the affected services. Done when the middleware starts without configuration errors, a test user can open the filter settings in the web client and the service logs show a successful connection to the Sieve server.
Enable categories for a pilot group
The administrator turns on the mail categories setting for a small pilot group, scoped with the configuration mechanism your release provides for per-user or per-context settings. Record which accounts are in the pilot, the setting values applied and the time of the change. Ask the vendor whether categories need a reindex or a background job for existing mail, and schedule that step if it does. Done when the pilot accounts show the category view in the web client and the change record lists every account and setting.
Verify with a real client session
Pilot users sign in with their normal devices and clients and check that messages are sorted into categories, that new incoming messages are categorized, and that searches and rule-driven moves behave as the test mailbox did. Note any differences between the web client, the mobile apps and any third-party IMAP clients. Done when each pilot user confirms the expected behavior in writing, any defects are logged with the client version and the mailbox state, and the outcome is recorded before the setting is widened to more users.
Security and operational risks of category rules on the mail server
Category rules sit in the mail path, so their risks reach beyond the App Suite interface. The cards below describe what the operator must control on the mail server: delivery behavior, flag exposure, script storage, access to shared mailboxes, change history and testing after upgrades.
Sieve failures affect delivery
Sieve scripts run on the mail backend during delivery, so a script that errors or loops can delay or misfile incoming mail for every user it applies to. Before enabling category rules, confirm how your Pigeonhole and Dovecot setup handles script errors, which default action applies when a script fails, and whether you can disable a faulty script for one user or globally without touching the rest of the mailbox. Test failure behavior on a non-production mailbox first.
Category flags reveal content metadata
Category assignments are stored as IMAP flags on messages, and any client with access to that mailbox can read them. The flags can indicate how a message was classified, which exposes a summary of mail content even when the message body stays encrypted at rest or is never opened. Decide which mailbox owners, delegates and mail clients may read these flags, and document that category data is metadata that needs the same handling as the mail itself.
Keep Sieve scripts editable and backed up
Category and filter rules are Sieve scripts stored on the mail server, so they must stay recoverable outside App Suite. Confirm where each user's script lives, how it is included in your backup schedule, and whether an administrator can read, restore or export it without logging in as the user. Test a restore of a script to a clean mailbox so you know the recovery path works before you need it.
Control IMAP flag access on shared mailboxes
Shared and function mailboxes give several people access to the same messages, so category flags set by one person are visible to all of them. Confirm which ACL rights your Dovecot configuration grants on shared folders, whether users can change flags that other members rely on, and whether category settings should be per user or per mailbox. Write down the answer for each mailbox type so support staff apply it consistently.
Log changes to mail rules
A rule change can move or hide mail for a user, so changes need a record of who made them, when and what changed. Check whether your Sieve and mail backend logs record script uploads and activations, how long those logs are kept, and whether they reach the central log platform you use for security events. Without this trail, a missing message report is hard to trace to a rule edit.
Retest rules after backend upgrades
Dovecot, Pigeonhole and the mailfilter components change between releases, and a version change can alter how scripts parse, how flags are stored or which extensions are available. Plan a test pass after every backend upgrade that covers a sample of category rules, a shared mailbox and a delivery from an external sender. Ask your vendors which compatibility notes apply to your exact versions before you schedule the upgrade window.
Trade-offs between server-side and client-side categories
The core decision is where category logic lives. Server-side rules run on the mail backend at delivery, through Sieve scripts managed over ManageSieve, so a message lands in the same category whichever client the user opens later. Client-side categorization depends on flags that the App Suite session sets or reads, so the result is only as consistent as the session that created it. Before choosing, confirm with Open-Xchange and your Dovecot and Pigeonhole build which IMAP keywords and Sieve extensions each approach depends on, since the requirements for the two paths differ.
The choice changes the experience for anyone who reads the same mailbox outside App Suite. Server-side rules keep their effect in a phone's native mail app, a desktop client or a webmail session that does not know about categories, because the message is already filed or flagged when it arrives. Client-side flags are visible to those clients only as ordinary IMAP flags or keywords, and a client that does not read them will show the mail without its category. Test this with the clients your users actually run, not only with App Suite.
Migrated mail raises a separate question. Messages moved in from another platform may already carry flags, keywords or folder structures that mean something different from App Suite's categories, and a migration tool may copy them unchanged. Decide whether existing flags should be reinterpreted, left alone or cleared, and check a sample of migrated mailboxes before users see them. The same decision sets who maintains the rules: server-side scripts need an owner who can edit Sieve and test delivery, while client-side behavior is maintained through the App Suite release you run, which you should plan around the support commitment described in the operations guidance.
Limits and version items to confirm in your environment
Mail categories depend on a chain of versions and licensing terms that change between App Suite releases. The cards below list what to confirm with Open-Xchange documentation and your agreement before you commit to a design, so that assumptions do not turn into rework.
Recommended Dovecot and Pigeonhole versions
Confirm which Dovecot and Pigeonhole versions Open-Xchange recommends for the exact App Suite release you plan to run, not the release you tested last year. Category support depends on the IMAP and Sieve components behind App Suite, so a version pair that works for mail delivery may not match the categorization requirements. Record the pair in your design document and check it again at every App Suite upgrade.
Requirements docsIMAP and Sieve extension support
Verify that your mail backend advertises the IMAP user flag and keyword search capabilities that App Suite expects, and that the Sieve server supports the imap4flags extension. Check this on the running server, not only in the vendor brochure, because an extension can be compiled out or disabled in configuration. Test with a real mailbox that already contains categorized messages.
Mailfilter package compatibility
Confirm that the mailfilter package installed on your middleware matches the App Suite release in use. A package from a different release can generate Sieve scripts that the server rejects or interprets differently, which breaks rules and categories together. Ask Open-Xchange which package version ships with your release and how it is upgraded alongside the middleware.
Categories on shared and secondary mailboxes
Decide how categories should behave for shared mailboxes and secondary mail accounts, then test that behavior with the flags your backend stores. Flags set on a shared folder may be visible to every user with access, and a secondary account may use a different sign-in path than the primary mailbox. Confirm the behavior in the vendor documentation and in a pilot with real access rights.
Release cycle and support lifespan
Check how the support commitment affects your choice of release. A standard release has a short support window, while an LTS release is supported until the next LTS plus a further period, so the release line you pick sets how often you must retest categories and Sieve. Plan the upgrade path for mail backend and mailfilter together, and confirm the current LTS and newest listed release before you fix a version.
Support commitmentLicensing terms for optional modules
Confirm whether your license agreement limits or prices any module or feature that your categorization design uses. The Operations Guide states that some modules or features may be subject to custom packaging, limitations or separate fees set in the agreement. Ask for the written list of entitled features before the scope is signed, so the design does not depend on a capability you are not licensed to run.
Operations GuideWhat do buyers ask before enabling mail categories?
What does enabling mail categories cost, and what drives the price?
The cost comes mainly from the people doing the work: someone must verify the mail backend, write or adjust the Sieve setup, test the behavior with real mailboxes and roll the change out. Each of those is a separate line in a quote. The backend verification and Sieve work are one-time costs, while ongoing operations after go-live are recurring and depend on who runs the server. Costs rise when the existing Dovecot or Pigeonhole setup is out of date, when filtering rules are heavily customized or when many mailboxes need testing. Ask any partner to break the quote into backend verification, Sieve configuration, testing and rollout, and to say who performs each step. No figures are given here because the price follows from a written scope.
How long does enabling mail categories take?
Duration depends on the current state of the mail backend, the number of mailboxes in scope and how much testing is required. A server that already runs a supported Dovecot and Pigeonhole combination with IMAP user flag and keyword search support needs less verification than one that must be upgraded first. A small pilot group is usually faster to test than a full tenant, and rollout in stages takes longer than a single change. Ask the partner to state the assumptions behind the timeline, including the number of mailboxes and the test scope, so you can see what would move the date.
What access and change windows does the work require from our team?
The work needs administrative access to the mail server, including rights to inspect IMAP configuration and to manage Sieve scripts through the server, plus a test mailbox that can be used without affecting real users. Your team also needs to agree on change windows for configuration changes and any service restart. Confirm these items before work starts: who holds the admin credentials, how they are granted and revoked, where configuration changes are recorded, and which windows are available for pilot testing and full rollout.
Can our own team enable mail categories without a partner?
Yes, if your team already operates Dovecot and a Sieve server and is comfortable with IMAP flags, keyword search and the mailfilter package used by OX App Suite. The work requires knowledge of the mail backend configuration, Sieve syntax and testing against a live client, along with the discipline to keep a rollback path ready. If your team lacks one of these skills, or runs the mail platform only occasionally, a partner can carry the verification and testing while your staff keep ownership of the server. Compare the internal effort with the written scope before deciding.
What should we ask a partner to put in a quote?
Ask for the scope in writing, including which OX App Suite and mail backend versions are covered, which Dovecot and Pigeonhole versions are confirmed against the requirements, and which mailboxes and clients are tested. Request a rollback plan that describes how to revert Sieve and IMAP changes, who executes it and how long it takes to reach a known state. Ask for test evidence from a pilot, such as the result of category and keyword search checks across the client types you use. Also confirm who owns the resulting configuration and documentation after handover.
Can we add mail categories later without migrating our mail?
In most cases, categories can be enabled on an existing mail store because the work centers on backend capabilities, IMAP flags and Sieve configuration rather than on moving messages. The practical question is whether your current Dovecot and Pigeonhole setup already supports the required flags and keyword search. If it does not, the change is an upgrade and configuration task on the existing server. Confirm with the vendor documentation and your own environment before planning, and test on a copy or pilot mailbox first so you can see how existing mail and filters behave.
How DeployOpen scopes and delivers mail category work
DeployOpen plans mail categorization in OX App Suite as a defined piece of work on the mail backend, with IMAP flags, Sieve and the filtering packages confirmed against your own Dovecot and Pigeonhole versions before anything is changed. Each engagement is scoped, built, tested and handed over inside infrastructure you control, so your team can run it after go-live.
How we scope
- Confirm your OX App Suite release and Kubernetes deployment before agreeing which mail backend changes are in scope.
- Inventory your IMAP server, Dovecot and Pigeonhole versions, user flag and keyword search support, and Sieve setup.
- Agree deliverables, test cases and timelines in writing before any work starts, since most engagements are fixed-scope.
How we build
- Enable and verify IMAP user flag and keyword search support on a non-production mailbox before touching live accounts.
- Configure the Sieve server with imap4flags and the mailfilter package, then check category rules against sample mail.
- Test the setup against the recommended Dovecot and Pigeonhole versions, recording each configuration change as it is made.
How we hand over
- Deliver a written runbook covering versions, configuration keys, rollback steps and the checks to repeat after upgrades.
- Document which categories users see, how Sieve scripts are stored, and what administrators can and cannot change.
- Walk your mail and platform administrators through the setup and confirm they can reproduce the verification steps.
How we support
- Review version changes in the OX support commitment and Dovecot releases before your mail backend or App Suite is upgraded.
- Retest category behavior after each upgrade or change to the mail backend, and report any regressions with fixes.
- Ongoing support, upgrades and continuous testing are available as a retainer, priced from the agreed scope.

