Expand description

vSMTP rule engine

vSMTP server is built with a runtime also called rule engine. This runtime can execute code provided in our superset of the https://rhai.rs language.

The viridIT scripting language (vsl) is a simple language that allow you to define rules and object to control the traffic on your MTA.

Further details on the official book of vSMTP: https://vsmtp.rs/reference/vSL/vsl.html

Re-exports

Modules

  • Module containing the backend for the vsl’s Rust API.

Macros

Structs

  • a sharable rhai engine. contains an ast representation of the user’s parsed .vsl script files, and modules / packages to create a cheap rhai runtime.
  • a state container that bridges rhai’s & rust contexts.
  • Encapsulate all ASTs of rules split by domain and transaction type.

Enums

Functions