GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - foxcpp/go-sieve: [WIP] Sieve language implementation in Go

BranchesTags
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd/sieve-run
cmd/sieve-run
 
 
interp
interp
 
 
lexer
lexer
 
 
parser
parser
 
 
tests
tests
 
 
.gitmodules
.gitmodules
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
execute_test.go
execute_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
sieve.go
sieve.go
 
 

Repository files navigation

go-sieve

Sieve email filtering language (RFC 5228) interpreter implementation in Go.

Features

  • Binary representation for faster load/execute cycles (Script.Save, sieve.RestoreSaved).
  • Integration tests harness for MTA integration testing (see tests/execute.go).

Supported extensions

  • envelope (RFC 5228)
  • fileinto (RFC 5228)
  • encoded-character (RFC 5228)
  • imap4flags (RFC 5232)
  • variables (RFC 5229)
  • relational (RFC 5231)
  • copy (RFC 3894)
  • reject/ereject (RFC 5429)
  • subaddress (RFC 5233)
  • environment (RFC 5183)
  • body (RFC 5173)

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.

About

[WIP] Sieve language implementation in Go

maddy.email

Topics

emailsieve-email-filter

Resources

Readme
MIT license
Activity

Stars

17 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.