Wez Furlong
fbf50bc28f
adjust debug log levels for the logging thread
2023-03-24 08:00:57 -07:00
Wez Furlong
a81d9d19f9
adjust default logging to include INFO logs
2023-03-24 07:59:46 -07:00
Mike Hillyer
e404c9e109
Update credits.md
...
Adding Taguchi to the credits, thanks guys!
2023-03-24 09:56:40 -04:00
Wez Furlong
b57126f724
allow STARTTLS to fail without wiping out the connection
...
This should improve diagnostics around handshake errors
2023-03-23 16:01:47 -07:00
Wez Furlong
80c6f21b22
marginally improve logging of failed TLS handshake from server side
2023-03-23 15:16:44 -07:00
Wez Furlong
3a26c60438
also export counters as json
...
expand the docs to show what the data looks like
2023-03-23 10:47:17 -07:00
Wez Furlong
0cf6a16ef2
allow running ./docs/build.sh serve to build and serve docs
...
Any arguments you pass to it will be passed through to mkdocs
2023-03-23 08:28:17 -07:00
Wez Furlong
cf1ba5f0b2
add key_data source for key data, refactor docs
...
Break out the KeySource object into its own reference page to
avoid manually duplicating the same information into multiple pages.
Explain how to use data fetched from eg: sqlite.
2023-03-23 08:27:14 -07:00
Wez Furlong
36de652dd2
docs: fix indent
2023-03-22 17:05:03 -07:00
Wez Furlong
0167041ed0
add kumo.memoize as a way to add caching to any lua function
2023-03-22 17:01:07 -07:00
Wez Furlong
b6633b95dc
sqlite: bind params as strings, fixup empty rows case
...
We were binding as blobs which we could read back as strings,
but which didn't match string inputs! Very confusing!
Always bind as strings.
For the empty rows case: don't return the affected row count
unless the query has 0 columns, as we otherwise cannot distinguish
between no matching results and a single column with 0.
2023-03-22 17:01:07 -07:00
Wez Furlong
ab18aea416
revert last whitespace change
2023-03-22 17:01:07 -07:00
Tom Mairs
92e2a317d4
add certificate instructions in tutorial
2023-03-22 22:59:01 +00:00
Tom Mairs
782b549efb
docs cleanup
2023-03-22 21:48:27 +00:00
Wez Furlong
48f55d574d
whitespace only commit to force new debs and rpms to build
2023-03-22 12:33:27 -07:00
Wez Furlong
fb6b7102b4
ci: trigger rocky+centos when build-rpms script changes
2023-03-22 11:57:43 -07:00
Wez Furlong
74e868883b
make similar adjustment to rpm version number
2023-03-22 11:53:17 -07:00
Wez Furlong
21f50d79fd
adjust deb version number some more
...
allows multiple versions per day to disambiguated
2023-03-22 11:51:21 -07:00
Wez Furlong
8f9f8201d7
fixup deb package version number
2023-03-22 11:39:01 -07:00
Wez Furlong
e1704da369
fix deb preinst script
2023-03-22 11:25:14 -07:00
Wez Furlong
d8ee122974
ci: revert 16 core change, the runners are not online?
2023-03-22 07:16:42 -07:00
Wez Furlong
ac74779ef5
ci: try out 16 core runner for rust workflow
2023-03-22 07:14:15 -07:00
Tom Mairs
a0a63a2edc
refining tuorial pages
2023-03-22 06:35:33 +00:00
Tom Mairs
298f9db7f2
rearrange docs to make more sense
2023-03-21 23:40:47 +00:00
Wez Furlong
7fd8ce362a
nth time's the charm!
2023-03-21 14:14:34 -07:00
Wez Furlong
c0a3549022
ci: old man yells at cache key
2023-03-21 13:54:18 -07:00
Wez Furlong
0e8b353ea1
pre-create some etc dirs as well
2023-03-21 13:33:22 -07:00
Wez Furlong
b362e834e9
ci: more fun with cache keys
2023-03-21 12:36:02 -07:00
Wez Furlong
97e52636ed
log receptions for messages assigned to the null queue
2023-03-21 11:42:01 -07:00
Wez Furlong
6dac7e29be
ci: try cargo install after get-deps
2023-03-20 16:14:17 -07:00
Wez Furlong
6d28fba8df
ci: try to discourage false sharing of cargo-install cache
2023-03-20 16:00:48 -07:00
Wez Furlong
66454f8efc
fix weird permission denied issue when dropping privs
...
Need to set real and effective gid in order for the kernel
to allow us to access the spool directories fully.
2023-03-20 15:03:30 -07:00
Wez Furlong
a6f1b450ca
fix shutdown deadlock if multiple things call request_shutdown
...
The issue in my case was:
```
2023-03-20T21:38:56.945962Z ERROR localset-0 kumod::mod_kumo: Error in spool: Opening spool data: Corruption: While creating a new Db, wal_dir contains existing log file: : 000004.log
Shutdown requested, please wait while work is saved
Shutdown completed OK!
2023-03-20T21:38:56.966846Z ERROR localset-0 kumod::mod_kumo: Error in spool: Opening spool meta: Corruption: While creating a new Db, wal_dir contains existing log file: : 000004.log
2023-03-20T21:38:57.025241Z ERROR localset-0 kumod: problem initializing: No spools have been defined
smtp listener on 0.0.0.0:25 -> stopping
Error: Initialization raised an error
smtp listener on [::]:25 -> stopping
```
2023-03-20 14:38:29 -07:00
Wez Furlong
6c4e3915b8
fixup example config to match default install
2023-03-20 14:14:15 -07:00
Wez Furlong
17a3e664dc
create spool and log directories during install
2023-03-20 14:13:22 -07:00
Wez Furlong
2d5fe38aba
create kumod user during rpm and deb install
...
I haven't tested the deb stuff explicitly, will see what
happens when it makes it through CI
2023-03-20 13:45:57 -07:00
Tom Mairs
37f56fb15b
Rearrange Pages to make more sense
2023-03-17 05:56:14 +00:00
Tom Mairs
fc6f3537d6
Updates to Day 1 doc
2023-03-17 05:45:52 +00:00
Tom Mairs
4530a3a3e4
adding a TL;DR section to the Day1 doc
2023-03-16 23:43:50 +00:00
Mike Hillyer
d9eb21c6e0
And had a comma where I shouldn't...
2023-03-16 14:26:07 -04:00
Mike Hillyer
554e8baff9
Forgot a comma.
2023-03-16 14:24:03 -04:00
Mike Hillyer
b2a7ceb3a3
Add IPv6 to example config, moved example spool and logs to /var/spool and /var/log from /var/tmp.
2023-03-16 14:22:31 -04:00
Wez Furlong
f9c6eb8ce3
add ed25519 dkim signer
2023-03-16 10:23:54 -07:00
Wez Furlong
f0fc5c37f3
handle malformed names better
...
There are MX records in the wild that return invalid hostnames.
Skip those when considering the set of MX records.
2023-03-15 15:14:58 -07:00
Mike Hillyer
bb0ce4f8ab
Update concepts page.
2023-03-15 17:32:18 -04:00
Wez Furlong
f1be7bb114
docs: tweak example config
2023-03-15 14:28:00 -07:00
Mike Hillyer
51e329890d
Automated doc formatting fix
2023-03-15 21:06:36 +00:00
Mike Hillyer
52274ebf5f
Tom gets a warning, I get an error, TANJ!
2023-03-15 17:05:44 -04:00
Mike Hillyer
8dfef6a0df
Fix lua in example, fix link in concepts.
2023-03-15 17:00:20 -04:00
Mike Hillyer
fdaaf65708
Updating the example config with Wez's latest spool and queue settings.
2023-03-15 16:51:55 -04:00