mozdev.org

sieve

What is this?

It's somekind of a preview release. The next versions of the Sieve Extension might be capable of parsing and modifing a Sieve Script through a GUI. Therefore the parser needs to understand any existing Sieve script and it's output should produce only valid sieve scripts.

How does it work?

Paste your Sieve Script and then press the parse button. A Javascript will then convert the Sieve Script into a objectorientated Structure. If the Script is processed, the objects will be reconverted into a String. This means that the parser output should be exactly the same script you pasted.
If the output is not exactly the same, you found a bug of the parser. So please send me your Script inoder to fix the bug.

This parser should support all JavaScript 1.5 compatible Browsers (Firefox, Seamonkey, IE ...)

Which commands are supported?

Everything defined by rfc3028 and IMAP Flags. That means it will not support any sieve language extension like vaction, regex and notify.

Sieve Script Parser

Input:



Result: