repositorypackage
0.0.0-20240130002450-72d6b002882a
Repository: https://github.com/foxcpp/go-sieve.git
Documentation: pkg.go.dev
# README
go-sieve
Sieve email filtering language (RFC 5228) implementation in Go.
Supported extensions
- envelope (RFC 5228)
- fileinto (RFC 5228)
- encoded-character (RFC 5228)
- imap4flags (RFC 5232)
- variables (RFC 5229)
- relational (RFC 5231)
Example
See ./cmd/sieve-run.
Known issues
- Some invalid scripts are accepted as valid (see tests/compile_test.go)
- Comments in addresses are not ignored when testing equality, etc.
- Source routes in addresses are not ignored when testing equality, etc.