Keeping Sieve mail filters when moving to OX App Suite: the short answer
If your users rely on server-side mail rules, you need to know that OX App Suite stores rules as ordinary Sieve scripts managed over ManageSieve, so most scripts can be carried across rather than rebuilt by hand. The effort depends on where the scripts come from, which rule syntax and Sieve extensions they use, and how many users have their own filters. Plan the move as four stages: inventory every script and rule, convert anything the target cannot run as written, test representative mail against each rule, and then cut over with a rollback path. Filters that look simple in the old webmail often hide vendor-specific actions, so the inventory stage decides most of the schedule.
Start by asking the source platform for an export of each user's active and inactive scripts, not only the rules shown in its interface. Check which Sieve extensions each script requires, since the target must support the same set before a script can load unchanged. For scripts that already run on Dovecot Pigeonhole, the migration is usually a matter of confirming that the extensions and the script file layout match what your OX deployment expects. Scripts from other systems may need translation, and rules that depend on folders, aliases or external lists need those objects to exist on the target first.
Effort is driven by script count, the number of distinct extensions in use, how many scripts are vendor-specific, and how much testing your users and compliance owners expect. Treat any estimate you receive as illustrative until your own inventory is complete. Ask the implementation partner to explain how they will count scripts, which tests they will run for forwarding and vacation rules, and what they will hand over at the end. Confirm the exact supported Sieve extensions and ManageSieve behavior with Open-Xchange documentation and your own test tenant before you commit to a schedule.
What maps cleanly and what needs rework
This table compares common server-side rule features with their Sieve equivalents on OX App Suite's Dovecot Pigeonhole backend. Read the middle column for the documented Sieve model and the right column for the work each feature needs. Standard tests and actions usually carry over, while proprietary rule formats and extensions the target does not enable need rework and confirmation before cutover.
| Capability | Sieve equivalent on OX App Suite | Migration effort |
|---|---|---|
| Basic conditions | Standard header, address and size tests in ordinary Sieve scripts | Low. Confirm the rules interface exposes every test your users rely on |
| Folder filing | The fileinto action into existing IMAP folders | Low if folder names and hierarchy match. Verify folder paths on the Dovecot side first |
| Forwarding | The redirect action for sending copies to another address | Low for plain forwards. Confirm your outbound policy allows the forwarding targets |
| Vacation replies | The vacation extension, which must be enabled in Pigeonhole | Medium. Confirm subject, text, reply interval and date ranges carry over intact |
| Flags and marking | The imap4flags extension for setting or adding message flags | Low to medium. Confirm the extension is enabled and flag names match your clients |
| Discard and reject | The discard and reject actions, with differing bounce behavior | Medium. Test with sample messages and confirm the policy for rejected mail |
| Proprietary rule formats | No direct Sieve equivalent. Rules must be exported to script text or recreated | High. Inventory each rule and rebuild it in Sieve, then test each one |
| Scripts run by other systems | Not part of the mailbox script. Must be reproduced on the new platform or kept on the old system | High. Confirm which transport or gateway rules run outside the mailbox |
Documented export and import paths for existing rules
Mail filters rarely move with the mailbox. The paths below cover the ways Sieve scripts and rules can leave a source system and land in OX App Suite, and where manual recreation is the only option. Confirm each path against your source system's version before scoping the work.
Sieve scripts over ManageSieve
Where the source server is Sieve-capable, the ManageSieve protocol is the usual way to list, download and upload scripts. Pull each script in its raw form and record which one is active, since a mailbox can hold several scripts and only one runs at a time. Check that require lines and extensions used in each script are supported on the target before you upload it.
Dovecot Pigeonhole scripts
Dovecot Pigeonhole stores user scripts as plain Sieve files, usually in a per-user directory on the mail server. Copy the files and the active-script link as they are, then compare the extensions they require with what the target Sieve service loads. Confirm the storage layout and any vendor-specific extensions on your own Dovecot version before copying.
Rules exported from other platforms
Some webmail and groupware platforms export rules in their own format, such as XML or a proprietary rule file, rather than as Sieve. Ask the source vendor whether an export exists and what it contains, because a rule export may omit actions, folders or vacation settings. Treat any converted script as a draft that needs review, not a finished copy.
Recreating rules by hand
Where no export exists, the rules must be rebuilt in the target's filter settings. Keep a written inventory of each rule's conditions, actions, order and stop-processing behavior before you start. Test each rebuilt rule with a sample message, because filter order and folder names often differ between systems.
IMAP copy tools do not move rules
IMAP copy tools transfer messages and folders, not server-side filters, vacation replies or forwarding settings. Run mail copies and rule migration as separate work items with their own checks, so that a finished mailbox copy is not mistaken for a finished filter migration. Confirm with your copy tool's documentation which items it covers.
Confirm tooling and export formats
Before scoping, confirm which export tools, scripts or APIs your source system provides and in which versions. Ask the target team which Sieve extensions and ManageSieve features the OX App Suite mail backend exposes for your deployment. Record these answers in the migration plan so the rule inventory and test plan rest on documented behavior.
How the filter migration runs alongside the mailbox cutover
The sequence moves each user's server-side rules with their mail, so filing and forwarding behave the same on the first day in OX App Suite as they did before. Each step ends with a check that a person or a test has confirmed.
Inventory every user's scripts and rules
Your mail administrator exports the active Sieve script for each mailbox from the source system, or lists the rules shown in each user's filter settings where scripts cannot be exported. Record the number of rules per user, the actions used (fileinto, redirect, vacation, reject and any extensions), and whether scripts are active or disabled. Confirm the export covers every mailbox in the migration batch, including shared and role accounts. The inventory is complete when every mailbox has a row and the rule counts reconcile with a sample check against the source admin console.
Classify rules as portable or rework
Sort each rule into one of two groups. Portable rules use standard Sieve tests and actions that the target Sieve server supports, so the script can be copied as it is. Rework rules depend on vendor extensions, proprietary rule types, server-side scripts that call local scripts or paths, or behavior the target server does not offer. Confirm the support list for Sieve extensions with your OX App Suite and Dovecot configuration before classifying, since the target server decides what is portable. The output is a short list of rework items with an owner and a decision for each.
Convert and test scripts with a pilot group
Load the converted scripts for a small pilot group of users into the target mailbox through ManageSieve, then send test messages that exercise each rule: matching sender, subject, header and folder targets, plus forwards and vacation replies to test addresses you control. Check that messages land in the expected folders and that forwards do not reach external addresses unless intended. The step is done when every rule has a passing test result recorded against the rule ID and the pilot users have confirmed their expected behavior.
Run the pilot in parallel with the source system
Keep the pilot users' rules active on the source system and on the target during an agreed parallel period, while mail is synced to the target by the copy tool. Compare where messages are filed on both sides and note any difference in folder names, forwarding behavior or vacation replies. Duplicate forwards are expected during this period, so the pilot must send forwards only to test addresses or disable them on one side. The check is a written list of differences, each resolved or accepted by the rule owner before the full batch moves.
Move scripts in the cutover window
During the cutover window, after the final mail sync, the migration team uploads the approved scripts for every user in the batch and sets each one active on the target. Rework items are either rebuilt by hand or accepted as a documented gap with the user informed. The source-side rules are disabled at the same time so that no message is filtered twice. The output is a per-user record showing the script uploaded, the active status and the date of the change, plus a spot check of several users on the new system.
Disable old rules and remove forwarding loops
After users are live on the target, check the source system for any rule that still forwards or files mail, and disable it. Look for forwards that point back to the target system, which would create loops, and for duplicate filing rules that now run on both sides. Confirm that no mailbox forwards to an address that forwards back. The step closes when a second check of the source rule list shows zero active rules for the migrated users and the target tests still pass.
Where rules are evaluated during and after the move
The diagram starts with an inbound message hitting the source server, where its Sieve script runs first. During the parallel-run period, the source keeps evaluating rules while the target's copy of each script is checked against it. After cutover, Dovecot Pigeonhole on the new mail backend evaluates the scripts, and users edit them through App Suite over ManageSieve. Check at each hand-off where forwarding or vacation replies leave the organization, since that is the point where a rule starts acting outside your trust boundary.
Rule evaluation on the source server during parallel run and on Pigeonhole after cutover.
What drives the effort and cost of moving filters
This table lists the factors that change how much work a Sieve filter move takes and how it is priced. Read each row as a question to answer in your own environment before asking for a quote. The main takeaway is that script count and script complexity drive one-time conversion and testing, while the number of rule owners and the support expectations after launch drive recurring work.
| Driver | Why it changes effort or cost | How to keep it down or what to confirm |
|---|---|---|
| Number of users with server-side rules | Each active script needs review, conversion where required, and a test pass, so effort scales with the count of rule owners. | Count users with non-empty scripts on the source, and separate active rules from unused leftovers before scoping. |
| Script length and nesting | Long scripts with nested conditions take longer to read, map and verify than short single-purpose rules. | Ask for a script inventory with line counts and nesting depth, and agree whether scripts are rewritten or copied as-is. |
| Source-specific actions | Vendor extensions, proprietary actions or non-standard fields have no direct equivalent and need a design decision for each one. | List every action and extension in use on the source and confirm which ones the target supports as written. |
| Shared or group mailboxes with rules | Rules on shared mailboxes affect several people, so changes need owner sign-off and more careful testing. | Identify each shared mailbox, its owners and whether its rules must stay unchanged during cutover. |
| Forwarding and vacation dependencies | Forwarding, redirects and out-of-office replies interact with filters, and a mistake can send mail to the wrong place or double-reply. | Map which users rely on forwarding or vacation messages and decide whether those move with the scripts or are reset by users. |
| Testing depth | Test effort ranges from spot checks of sample messages to scripted tests per rule, and this is usually the largest one-time item. | Ask for the test method, the sample messages used, the acceptance criteria and who signs off each rule category. |
| Target Sieve extension support | If the target lacks an extension a script needs, the rule must be redesigned, which costs more than a direct copy. | Compare the extensions in use on the source with the target's supported list, and confirm the result in writing before scoping. |
| Support after launch | Users report missing or misrouted mail in the first weeks, so a support window after cutover adds recurring effort. | Ask whether post-launch support is included, how long it runs, and how changes to rules are requested and billed afterward. |
Questions teams ask before moving filters to OX App Suite
Can Sieve filter scripts be copied to OX App Suite as they are?
Often yes for plain Sieve, but the copy is only the start. Scripts written for Dovecot Pigeonhole or another server can use extensions, folder names, address patterns and variables that the target does not accept in the same form. The reader should export every active script and each user's inactive or backup scripts, then test each one against the target's Sieve implementation. Scripts that reference mailboxes must match folder names that exist after the mail copy, and any script that was never tested in production should be treated as untrusted until it runs against a test account.
How long does filter migration take, and what sets the duration?
The duration depends on the number of users with server-side rules, how many scripts use nonstandard features, and how many rules must be rewritten rather than copied. Rule owners need time to confirm what each rule should still do, and test accounts need time to verify results. Plan for a short technical pass on simple scripts and a longer review for complex ones. Ask any provider for the work broken into export, mapping, testing and cutover steps, and ask which of those steps depend on user or business sign-off.
What must our team supply before filter migration starts?
Three inputs drive most of the work:
- Script exports for every account with rules, taken from the source server with the rule owners' consent
- Named rule owners who can say which rules matter, which are obsolete and which must change
- Test accounts on the target platform, with mail samples that exercise forwarding, folders, vacation replies and discard rules
Without the test accounts, validation depends on live mail, which is risky for forwarding and discard rules.
Can our internal administrators migrate the filters themselves?
Yes, if they have access to the source server, the target's ManageSieve interface or administration tools, and someone who can read Sieve syntax. Internal staff are well placed to inventory rules because they know the business reasons behind them. The harder parts are verifying rules against realistic mail, handling edge cases such as forwarding loops and discard actions, and documenting the outcome for auditors. Ask whether your team can give that verification time without pulling people from other work, and whether a fixed-scope engagement would cover that verification for you.
How are forwarding and vacation replies handled during migration?
Forwarding and vacation (auto-reply) rules need the most care because they send mail outside the mailbox. Confirm each forward target still exists and is allowed by your policy, and check for loops between two forwarding accounts. For vacation replies, confirm the reply text, the start and end dates, the sender addresses and the interval between replies. Dates and reply intervals should be set explicitly during cutover, since a copied vacation rule can send replies at the wrong time. Record which users had active forwarding and vacation rules so the team can contact them if a rule behaves unexpectedly.
What happens to filter rules during the parallel run?
During a parallel run, the source and target may both process incoming mail, so rules can fire twice, deliver copies to the wrong folder or forward mail from both systems. The safe pattern is to keep the source rules active only where they cannot duplicate delivery, and to disable forwarding on one side. Decide in advance which system is authoritative for each user and make the switch part of the cutover checklist. Track any rule changes made on the target during the run so they are not lost when the final sync happens.
How is the cost of filter migration quoted?
A quote should follow from a written scope that lists the accounts, the scripts, the extensions in use, the validation approach and the cutover support. Those factors set most of the effort. Ask for one-time work to be separated from any recurring support or retesting, and ask what is excluded, such as rule redesign or fixes in the source platform. DeployOpen does not publish a price list, so a quote comes from the agreed scope in writing before work starts.
What usually goes wrong with filter migrations
Filter migrations rarely fail loudly. Rules disappear quietly, mail loops between systems during parallel running, and users change scripts in places nobody else sees. Each risk below has a check you can run before cutover, so the problem is caught while the old system still holds the original scripts.
Silent loss from unsupported rules
A Sieve script that uses an extension the target does not support may fail to load, or a rule may be dropped during conversion without any error to the user. Inventory every script and every require line before migration, and list which extensions the target accepts. Confirm the supported extension list with Open-Xchange and the Dovecot Pigeonhole version in your environment. Load each migrated script into a test mailbox and send sample messages that should match each rule.
Forwarding loops during parallel run
When old and new systems both hold a forwarding or redirect rule, or when both deliver to the same address, messages can be duplicated or bounce between servers. Illustrative example: a user forwards to a colleague whose rule forwards back. Decide which system owns forwarding for each mailbox before the sync starts, disable forwarding on the side that is no longer authoritative, and test with a loop-detection message before cutover.
Rules owned by departed users
Shared mailboxes, role accounts and leavers' mailboxes often carry filters that route mail to people who no longer work there. These rules are easy to copy without anyone reviewing them, and they keep sending mail to dead addresses or stale folders. Ask mailbox owners to confirm each rule, assign an owner for shared-mailbox scripts, and remove or archive rules tied to accounts scheduled for deletion.
Vacation replies to external senders
Auto-replies are the rule type most likely to cause external harm. Copying an old vacation message with its original dates, or sending replies to every sender including mailing lists, can expose absence details or create reply storms. Review each vacation rule for its start and end dates, its sender scope and its subject line. Test with an external address and a list address before any user is moved.
Users editing scripts in two places
During the transition, a user may edit a rule in the old webmail, while the migrated copy in App Suite stays unchanged, or the reverse. The two versions then drift apart and the next migration pass overwrites one of them. Freeze rule editing on the old system for each mailbox at cutover, tell users where rules now live, and confirm that App Suite writes ordinary Sieve scripts over ManageSieve that your team can read and back up.
No baseline for comparison
Without an exported copy of the original scripts, teams cannot tell whether a rule was lost, changed or never existed. Export every user's active and inactive scripts before the first sync, store them under version control or in a dated archive, and record a checksum per file. Compare the exported set with the migrated set after cutover and keep the archive until support tickets about missing rules stop arriving.
What your team needs to provide
The implementer can only preserve filters they can see, so the first input is access to the source rules. Ask for either read access to the existing Sieve scripts on the source server or a file export of each user's script set, and confirm which system holds the authoritative copy. Where the source is a Dovecot Pigeonhole server, the scripts usually live in the user's home directory, but your mail administrators should confirm the storage location and whether any users keep scripts outside the default path. Also provide a list of rule owners, meaning the users who own each mailbox, plus every shared mailbox and any delegated access that applies rules to mail received by a group.
Second, provide a test plan with sample messages. Your team should supply representative messages for each important rule: vacation replies, folder routing, spam handling, forwarding and anything that discards or rejects mail. Name the expected result for each sample so the implementer can compare the migrated behavior against what users rely on today. Your security or compliance team must also approve any change to forwarding, because a rule that sends copies to an external address changes where data goes. Confirm this approval in writing before cutover, and treat the export of rule files as personal or operational data under your own approval process, including who may receive the files, where they are stored and when they are deleted.
Finally, name pilot users and a contact for each who can confirm behavior during the parallel period. Pilot users should include people with complex rules, shared mailbox owners and at least one user who depends on vacation replies. Assign a technical contact who can approve a rollback decision and a business contact who can accept or reject each rule that cannot be carried over exactly. Confirm with your mail administrators the ManageSieve endpoint and authentication method the App Suite deployment will use, since these determine how the migrated scripts are uploaded and tested.
How DeployOpen works on this
DeployOpen scopes Sieve filter migration as a defined piece of work inside the wider OX App Suite rollout, with the rule inventory, script conversion and testing agreed in writing before any change is made. We then build, test and hand over the migrated rules in the environment you control, so your team can run them after the project closes.
How we scope
- Inventory which users have server-side rules, and which source system or Dovecot Pigeonhole setup holds them.
- Agree in writing which rule types, folders, vacation replies and forwarding behaviors are in and out of scope.
- Confirm how users will manage rules after cutover, through the OX App Suite rules interface or direct ManageSieve access.
How we build
- Convert source rules into ordinary Sieve scripts and check each one against the target Sieve support.
- Test representative messages against migrated scripts in a lab copy before any production user is affected.
- Verify that scripts load over ManageSieve and that the rule editor shows them as expected for sample accounts.
How we hand over
- Deliver a rule-by-rule migration record listing each source rule, its converted form and any rule left for manual review.
- Document the test cases, results and known differences so your team can repeat the checks during later changes.
- Walk your administrators through where scripts are stored, how users are informed and how to roll back a user if needed.
How we support
- Support after handover is available as a retainer, covering questions about migrated rules and later Sieve changes.
- Retesting can follow upgrades or changes to the mail backend, so filters keep behaving as documented.
- Confirm retainer scope and response expectations in the written quote, since these vary by engagement.

