Skip to content

benwhorwood/check-sieve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

check-sieve

This project aims to make checking mail sieve syntax easy and painless. Because breaking your sieve in production sucks.

Dependencies

check-sieve minimally depends on having a modern C++ compiler, however there are some requirements for developing on the project:

  • bison >= v3.0.4
  • flex >= v2.5.35
  • python development headers (for testing)

Compiling

At the moment, there are three targets for this project:

  1. check-sieve -- This is a command-line program you can use to verify sieves.
  2. libchecksieve.a -- A statically linked library for embedding in other programs (like check-sieve).
  3. checksieve.so -- This is a python extension created for use by the unit tests in the test directory

To build check-sieve simply run make. This will also build the static library. Running make test will compile checksieve.so and run the python tests in the tests directory. Finally, running make all will run all of the other targets.

Supported RFCs

Currently, the supported RFCs are:

If you find any discrepancies with these RFCs, or have reduced test-cases that should work but don't, please file an issue on the issues tab. If an RFC is missing which isn't supported, that you would like supported, also file an issue!

About

Syntax checker for mail sieves.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.4%
  • Python 16.6%
  • Lex 1.4%
  • Makefile 0.6%