Commit Graph

666 Commits

Author SHA1 Message Date
Tom Mairs 52d8efc1b8 Populate SMTP Injection page 2023-04-28 12:35:32 -07:00
Tom Mairs 452428e9d6 Populate Server Status page 2023-04-28 09:54:01 -07:00
Tom Mairs b435e210bb Add Note about CIDR strictness 2023-04-28 09:03:24 -07:00
Ubuntu ad403da74f Modify startup details 2023-04-28 08:54:05 -07:00
Mike Hillyer 7a66800f6e Automated doc formatting fix 2023-04-28 15:22:15 +00:00
Mike Hillyer 42c4b19047 Typo Fix 2023-04-28 11:21:16 -04:00
Mike Hillyer 00da1bde29 Put Wez's comments on tenant to pool assignment into a preliminary page. 2023-04-28 11:11:34 -04:00
Mike Hillyer c7799c99b6 Adding chapter on log viewing. 2023-04-27 14:35:26 -04:00
Wez Furlong ef2abc7031 allow comments in json parsed by kumo.json_load, kumo.json_parse 2023-04-26 15:08:29 -07:00
Mike Hillyer 9f363ac132 Updates to the traffic shaping page. 2023-04-26 17:58:34 -04: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
Wez Furlong cb8e75c37e queue: fix missing async dispatch of get_queue_config event 2023-04-26 06:38:04 -07:00
Wez Furlong b66d33b268 shaping: detect and error out when ambiguous rollups are detected
If multiple domains resolve to the same site name, capture the
list and report it, then generate an error.

The operator needs to fix conflicting rollups in order for the
system to behave sanely.

Fix merging in default values
2023-04-25 15:58:17 -07:00
Wez Furlong 183621c396 fix get_egress_path_config site-name param, fix async call
Ensure that we trigger an async compatible callback so that
we can use eg: DNS resolution and memoization when processing it.

Fix the site name so that it doesn't include "source->site" and is
just the pure site name.
2023-04-25 15:58:17 -07:00
Mike Hillyer 51b22fe936 Adding the traffic shaping section. 2023-04-25 18:15:59 -04:00
Wez Furlong 1e628778d7 shaping: layer all of them in a reasonable order 2023-04-25 15:04:57 -07:00
Wez Furlong 767ccef87f shaping.lua: swap precedence of domain vs. site 2023-04-25 14:59:05 -07:00
Wez Furlong 8f0e60f397 shaping.lua: make mx_rollup default to true 2023-04-25 14:50:36 -07:00
Wez Furlong b974f37a15 shaping: resolve ambiguity with prohibited_hosts, add default entry 2023-04-25 14:21:16 -07:00
Wez Furlong 4b9fe008a9 add shaping.lua
This is not its final home; this is here while we play with it
and eventually move it to the right place and package it up.
2023-04-25 13:46:13 -07:00
Mike Hillyer 863449e453 Add queue management section. 2023-04-25 16:43:41 -04:00
Mike Hillyer 6ae11b591d Add queue management chapter, update other sections to align. 2023-04-25 16:43:27 -04:00
Mike Hillyer 5fabcb9e1f Automated doc formatting fix 2023-04-24 14:19:01 +00:00
Mike Hillyer 969d079eb6 Finish FBL and Bounce chapters, add chapter on Sending IPs. 2023-04-24 10:17:51 -04:00
Mike Hillyer 0e65eff758 Automated doc formatting fix 2023-04-22 16:17:27 +00:00
Mike Hillyer e2be05804a Build out FBL and Domain Config chapters, tweak SMTP Listener content. 2023-04-22 12:09:44 -04:00
Wez Furlong ea8a8f7bb2 load meta/payload if needed during logging
In some cases (eg: initial spool -> expiration) we don't have
any metadata loaded, causing the logs to say that the metadata
wasn't loaded.

This commit loads it as needed.
2023-04-21 12:51:16 -07:00
Wez Furlong 217a9ba09f log transient failure when all connection attempts fail
We log all of the connection failure results in the log message
to aid in diagnostics.
2023-04-21 12:33:53 -07:00
Wez Furlong bb64d6d2a8 dns: fix IPv4 and IPv6 literal domain resolving
Bypass the actual DNS resolver when handling literal
domains.
2023-04-21 12:17:09 -07:00
Wez Furlong cb362592e7 Fix Domain::Tagged to_string issue
When given an extension/tagged domain, we didn't include the closing
square bracket when rendering it as text.

Note that this looks like an IPv6 address, but it is not a conforming
IPv6 address which looks like `[IPv6:aaaa::bbbb]` rather than
`[aaaa:bbbb]`. The latter uses tag "aaaa" to define a different
addressing namespace that has no known implementation.

<https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.3>
2023-04-21 11:41:14 -07:00
Wez Furlong 3d38fb45c5 add tailer to rpm 2023-04-21 09:41:13 -07:00
Wez Furlong 15e886646c fix compilation of individual crates 2023-04-18 16:31:52 -07:00
Wez Furlong ba17723dea ci: also run in release mode
Some stuff builds in debug but not in release mode
2023-04-18 16:27:22 -07:00
Wez Furlong b8694d00d8 remove problematic time 0.1 dependency 2023-04-18 15:02:59 -07:00
Wez Furlong 07b75dd117 remove oldtime feature from chrono crate
it pulls in an old version of the time crate that flags many
rust projects as being vulnerable to an old CVE.

We still have other references to time that I'll remove in a follow up.
2023-04-18 15:02:59 -07:00
Mike Hillyer eeeccaf208 Changing upgrade instructions to show dev as optional for repo name. 2023-04-18 16:13:05 -04:00
Mike Hillyer a5a6a61be2 Finish Installing on Linux tweaks. 2023-04-13 13:17:06 -04:00
Wez Furlong 2768dd98f7 cargo update 2023-04-13 10:09:31 -07:00
Wez Furlong dfeae5ad4f postinstall: copy minimal-init.lua -> init.lua
If they don't already have a policy defined, copy the basic
one into place so that the service can start and they have
a starting point which they can customize
2023-04-13 09:53:12 -07:00
Wez Furlong 09dcd59473 move minimal init.lua to assets dir, include that in docs 2023-04-13 09:44:07 -07:00
Mike Hillyer 8295e4137b Tweaking merged install chapter. 2023-04-13 12:30:40 -04:00
Mike Hillyer b2dc834e66 Updating install directions to include info on dev/non-dev 2023-04-13 12:30:00 -04:00
Wez Furlong 385788765e rename delayed_count -> scheduled_count in metrics 2023-04-12 12:07:58 -07:00
Tom Mairs faaf26fba5 fix formatting in init.lua 2023-04-12 00:34:12 +00:00
Wez Furlong f4a2d5bb8c cargo update 2023-04-11 17:29:24 -07:00
Tom Mairs eb4503619f fix formatting in init.lua 2023-04-12 00:26:14 +00:00
Tom Mairs e8504964a6 added explicit init.lua directions 2023-04-12 00:19:02 +00:00
Wez Furlong 3ac0881051 docs: add google tag manager 2023-04-11 14:43:34 -07:00
Mike Hillyer 4197978134 Update reference manual to use new Scheduled Queue terminology. 2023-04-11 13:36:32 -04:00
Mike Hillyer b41514214e Checking on double indent for second para. 2023-04-11 13:32:51 -04:00