https://github.com/foxcpp/go-sieve
[WIP] Sieve language implementation in Go
https://github.com/foxcpp/go-sieve
email sieve-email-filter
Last synced: 5 months ago
JSON representation
[WIP] Sieve language implementation in Go
- Host: GitHub
- URL: https://github.com/foxcpp/go-sieve
- Owner: foxcpp
- License: mit
- Created: 2022-02-06T07:58:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-30T00:24:56.000Z (about 2 years ago)
- Last Synced: 2025-04-13T11:23:42.089Z (12 months ago)
- Topics: email, sieve-email-filter
- Language: Go
- Homepage: https://maddy.email
- Size: 1.49 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.
[RFC 5228]: https://datatracker.ietf.org/doc/html/rfc5228
[RFC 5229]: https://datatracker.ietf.org/doc/html/rfc5229
[RFC 5232]: https://datatracker.ietf.org/doc/html/rfc5232
[RFC 5231]: https://datatracker.ietf.org/doc/html/rfc5231