{"id":18783938,"url":"https://github.com/sparkpost/lua-policies","last_synced_at":"2025-12-20T20:30:16.362Z","repository":{"id":21194722,"uuid":"24504562","full_name":"SparkPost/lua-policies","owner":"SparkPost","description":"Example business policies, implemented in the Momentum Business Policy Framework","archived":false,"fork":false,"pushed_at":"2014-09-29T21:53:48.000Z","size":122,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-29T11:49:09.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SparkPost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-26T15:22:02.000Z","updated_at":"2016-07-25T01:53:27.000Z","dependencies_parsed_at":"2022-08-26T20:12:03.775Z","dependency_job_id":null,"html_url":"https://github.com/SparkPost/lua-policies","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Flua-policies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Flua-policies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Flua-policies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Flua-policies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SparkPost","download_url":"https://codeload.github.com/SparkPost/lua-policies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699583,"owners_count":19682575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:41:13.428Z","updated_at":"2025-12-20T20:30:16.306Z","avatar_url":"https://github.com/SparkPost.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"lua-policies\n============\n\nExample business policies, implemented in the Momentum Business Policy Framework.  \n\nThese 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.\n\nThese policies are loaded by loading the included policy.lua file into Momentum:\n\n\u003cpre\u003e\nscriptlet \"scriptlet\" {\n  script \"policy\" {\n    source = \"policy\"\n  }\n}\n\u003c/pre\u003e\n\nAnd then adding your policy to this array in policy.lua:\n\n\u003cpre\u003e\n-- This is the list of policies to load, a Lua array\nlocal policies = {\n  \"inbound.limits\",\n  \"inbound.rbl\",\n  \"inbound.fcdns\",\n};\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Flua-policies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkpost%2Flua-policies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Flua-policies/lists"}