Wez Furlong
261f68078f
sources.lua make_egress_poll typo -> make_egress_pool
2023-06-15 08:19:16 -07:00
Wez Furlong
420dade8fb
sources.lua: fixup initialization of name
...
refs: https://github.com/KumoCorp/kumomta/issues/56
2023-06-14 19:56:16 -07:00
Wez Furlong
628cda23ce
shaping.lua: table_keys lives in utils
2023-06-12 16:07:47 -07:00
Wez Furlong
c31b7e8191
dkim_sign: wrap an around the additional_signatures bit over here too
2023-06-12 14:56:02 -07:00
Wez Furlong
fe2f674180
listener_domains: defer building domain_map
...
Ideally we'd memoize the compiled map, but right now it isn't
compatible with being serialized, so we have to do it after
we call memoize
2023-06-12 14:26:11 -07:00
Wez Furlong
79f45005d5
dkim: defer building domain map
...
Ideally we'd memoize the compiled map, but right now it isn't
compatible with being serialized, so we have to do it after
we call memoize
2023-06-12 14:19:19 -07:00
Wez Furlong
22404630aa
dkim_sign.lua: fix another data.base vs. base
2023-06-09 14:15:19 -07:00
Wez Furlong
87cffb945e
dkim_sign.lua: avoid nil reference for additional_signatures
2023-06-09 13:06:27 -07:00
Wez Furlong
30bcf40497
dkim_sign.lua: fix array syntax for headers
2023-06-09 11:55:36 -07:00
Wez Furlong
643eecc9cc
dkim_sign.lua: fixup base
2023-06-09 11:48:19 -07:00
Wez Furlong
fd4aeb00a2
dkim_sign.lua: fixup missing vault_path_prefix usage
2023-06-09 11:47:27 -07:00
Wez Furlong
5001095044
dkim: sketch out an entirely untested dkim signing helper
2023-06-09 11:43:05 -07:00
Wez Furlong
b930ee5ec1
shaping.toml: remove unresolvable protection.outlook.com domain
...
entries in this file must be resolvable domains, and this one
has neither A nor MX records
2023-06-08 14:39:27 -07:00
Wez Furlong
7db243025e
add policy helper for sources and pools
2023-06-01 13:08:05 -07:00
Wez Furlong
e8a049cc83
document listener parameter to get_listener_domain update helpers
...
Allow per-listener listener-domain configuration
2023-05-31 15:46:12 -07:00
Wez Furlong
9708bbb1de
fix more typos
2023-05-31 12:44:46 -07:00
Wez Furlong
97f5abfcf0
fix typo
2023-05-31 12:34:02 -07:00
Wez Furlong
ce7dece927
move domains out of listener, replace with get_listener_domain event
...
This commit also includes a policy helper
`policy_extras.listener_domains` to make it convenient to define
listener domains in toml and/or json files.
To facilitate this, the DomainMap rust structure has been exposed
to lua code via the new `kumo.domain_map.new` function.
2023-05-31 12:29:44 -07:00
Tom Mairs
f9afc272d4
Update shaping.lua ( #47 )
...
Fix shaping.toml location
2023-05-17 22:50:08 -06:00
Mike Hillyer
09cc31e552
Update traffic shaping page of user guide, add default rules to shaping.toml.
2023-05-10 11:52:27 -04:00
Mike Hillyer
0ade9f1964
Added remaining defaults to round out the big four, will look to community to refine and expand from here.
2023-05-09 15:21:43 -04:00
Mike Hillyer
dd0f1eb5aa
Update shaping.toml based on input from Comcast and Yahoo contacts.
2023-05-09 14:45:52 -04:00
Wez Furlong
c969a61016
tweak comments in shaping.toml
2023-05-09 10:14:04 -07:00
Wez Furlong
ed3e0356e3
Add shaping.toml and revise shaping.lua to load multiple files
...
refs: https://github.com/KumoCorp/kumomta/issues/43
2023-05-09 10:00:40 -07:00
Wez Furlong
278bc81aa0
move shaping -> policy-extras/shaping, and deploy with package
...
The assets/policy-extras dir is now deployed to
`/opt/kumomta/share/policy-extras` and added to the require path,
so you can do:
```lua
local shaping = require 'policy-extras.shaping'
```
to pull it into your policy.
2023-04-26 14:51:52 -07:00