Convert classic Outlook rules to server-side Sieve.
olrx exports supported classic Outlook receive rules so that a Sieve-capable mail server can apply them before mail reaches your phone, webmail, or another desktop client.
When to use olrx
- You use classic Outlook for Windows and want supported receive rules to work server-side.
- Your provider accepts Sieve scripts, or exposes ManageSieve for preview and deployment.
- You want a guided preview, server-side backup, and rollback rather than hand-editing scripts.
Not a fit: olrx requires configured classic Outlook for Windows. It does not turn unsupported rules or a provider without Sieve support into compatible server-side rules.
Sync through ManageSieve
Set the connection values for a provider that offers ManageSieve, then run the Outlook workflow. The command shows the result and asks before changing server rules.
TRANSIEVER_SIEVE_HOST=sieve.example.com
TRANSIEVER_SIEVE_USERNAME=user@example.com
TRANSIEVER_SIEVE_PASSWORD=secret
olrx run
ManageSieve is the RFC 5804 protocol for remotely managing Sieve scripts.
Export without ManageSieve
If your provider accepts a Sieve file but does not expose ManageSieve, export the supported Outlook rules locally and generate the Sieve script with srtx.
olrx export --rules outlook-rules.json
srtx generate --rules outlook-rules.json --sieve outlook.sieve
See the olrx repository for supported rule mapping and the provider guide before deployment.