https://github.com/sparkpost/lua-policies
Example business policies, implemented in the Momentum Business Policy Framework
https://github.com/sparkpost/lua-policies
Last synced: 6 months ago
JSON representation
Example business policies, implemented in the Momentum Business Policy Framework
- Host: GitHub
- URL: https://github.com/sparkpost/lua-policies
- Owner: SparkPost
- License: apache-2.0
- Created: 2014-09-26T15:22:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-29T21:53:48.000Z (over 11 years ago)
- Last Synced: 2024-12-29T11:49:09.102Z (over 1 year ago)
- Language: Lua
- Size: 119 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
lua-policies
============
Example business policies, implemented in the Momentum Business Policy Framework.
These Lua modules only work within the Momentum messaging server, and are provided by Message Systems as a way to help build your own custom policy. Suggested changes or forks are encouraged.
These policies are loaded by loading the included policy.lua file into Momentum:
scriptlet "scriptlet" {
script "policy" {
source = "policy"
}
}
And then adding your policy to this array in policy.lua:
-- This is the list of policies to load, a Lua array
local policies = {
"inbound.limits",
"inbound.rbl",
"inbound.fcdns",
};