Commit Graph
865 Commits
Author SHA1 Message Date
Wez Furlong b43e88985c add kumo.dns.lookup_mx
This function returns MX information, including the computed site_name.
Update the queue example to show how to use it to populate the SITE_OF
map used in that example.

This commit switches to using the `Name` type under the covers to ensure
that we use canonical names for our cache keys.
2023-03-15 09:34:23 -07:00
Mike Hillyer 0e909f3407 Add EHLO to the example config 2023-03-15 11:43:13 -04:00
Tom Mairs 437aef4b5a Update kumomta_day_1.md 2023-03-15 00:05:39 -06:00
Tom Mairs 495fe5b48a update Day-1 doc 2023-03-15 05:55:45 +00:00
Wez Furlong 8cf8857a1c docs: revise config concepts intro
Wordsmith it to play to the strengths of the config
2023-03-14 22:46:09 -07:00
Wez Furlong be0fd76d0b add ehlo_domain config option 2023-03-14 22:26:07 -07:00
Wez Furlong a7884f01b4 fixup markdown for bug reporting page
I think a lot of the content on here can be subsumed by the
issue template and pruned from this page.

But this commit is just about making it not render as a wall
of text in mkdocs.
2023-03-14 22:17:18 -07:00
Wez Furlong 1dd39c3043 docs: console-ify the tutorial section
It looks more conventional this way.
I switched a few sysadmin sections away from `sudo -s` to
non-privileged commands that use sudo; most of those were to
deal with `sudo echo > file` not being able to write to `file` as root.

Those are replaced by `echo | sudo tee file >/dev/null` which allows
running only the file writing part as root.
2023-03-14 20:26:03 -07:00
Wez Furlong eec9b5ad77 update docker for new default policy file location 2023-03-14 20:16:13 -07:00
Wez Furlong bcdef3fd65 unbreak doc build 2023-03-14 20:07:40 -07:00
Wez Furlong e1f0939d81 add json functions 2023-03-14 20:07:40 -07:00
Mike Hillyer 7747bf5633 Automated doc formatting fix 2023-03-15 02:47:29 +00:00
Mike Hillyer 426b26744f Fix broken links. 2023-03-14 22:46:42 -04:00
Wez Furlong d978d259c9 set the default policy path 2023-03-14 19:43:12 -07:00
Mike Hillyer ce93b51da8 More treaks to the concepts page, start the policy chapter skeleton. 2023-03-14 22:42:14 -04:00
Mike Hillyer a3978b8677 Automated doc formatting fix 2023-03-15 02:22:04 +00:00
Mike Hillyer 0c5d7c9f90 Got another one backwards. 2023-03-14 22:20:54 -04:00
Mike Hillyer 339f812608 Got that backwards, lua fix. 2023-03-14 22:17:59 -04:00
Mike Hillyer 9d7063e3ab Updating the example config, adding configuration concepts. 2023-03-14 22:13:41 -04:00
Wez Furlong a0015424e4 add /opt/kumomta/policy to the default require path 2023-03-14 18:59:43 -07:00
Wez Furlong 384da92c0e docs: update dkim signing to use header from 2023-03-14 18:53:47 -07:00
Wez Furlong b3f3f877df add functions for working with address headers 2023-03-14 18:53:47 -07:00
Tom Mairs 91c41c3cd5 added KumoMTA Day 1 tutorial 2023-03-14 23:21:26 +00:00
Tom Mairs 16c0a44141 Fixing a spelling mistake 2023-03-14 23:21:26 +00:00
Mike Hillyer ed4ae9597e Automated doc formatting fix 2023-03-14 23:13:37 +00:00
Mike Hillyer af04bd7ce0 Update time notation and example script. 2023-03-14 19:12:46 -04:00
Wez Furlong 7c6547d0e4 commit cargo.lock after sqlite-src change 2023-03-14 15:59:43 -07:00
Wez Furlong 31b05c2a5d revert sqlite-devel bit
I was looking at stale data and we don't need it
2023-03-14 15:59:24 -07:00
Wez Furlong 03eee1c64c deps: add sqlite-devel for centos7 2023-03-14 15:25:06 -07:00
Wez Furlong 7486e4a949 fix enabled=0 line in .repo files
It doesn't like the comment on the same line, it seems
2023-03-14 15:22:13 -07:00
Wez Furlong c2cb5b798b fix centos7 build, adjust docker to use /opt/kumomta
Revert building static/bundled sqlite, as the logic deep in sqlite3-src
makes no attempt to deal with this mess on centos7:

  = note: /opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /__w/kumomta/kumomta/target/release/deps/libsqlite3_src-b3c44e6f34aac065.rlib(sqlite3.o):(.data.rel.aSyscall+0xb0): undefined reference to `fcntl64'
          collect2: error: ld returned 1 exit status

(I don't blame it!)

Deal with that in the docker image by simply installing sqlite
in the docker image.

And since I'm touching the docker stuff, adjust its install
path and layout to match that of the rpm and deb packages.
2023-03-14 14:14:37 -07:00
Wez Furlong 05039009f2 get-deps: add rpm-sign 2023-03-14 13:55:51 -07:00
Wez Furlong bddc80c395 fixup build-deb.sh 2023-03-14 13:54:35 -07:00
Wez Furlong 4d74bd58e4 docs: adjust example config
Simply a bit by removing some defaults, and remove some dangerous/bad
settings from my local test that should not be in the example config.

Factor out the dkim config table so that it is computed once, rather
than on every call to the event handler.
2023-03-14 13:52:30 -07:00
Mike Hillyer 331a46d8db Automated doc formatting fix 2023-03-14 20:09:36 +00:00
Mike Hillyer deab6adb40 Change toml file path to new /opt/kumomta/etc path style. 2023-03-14 16:08:42 -04:00
Wez Furlong 7db130102a rpm/deb: install to /opt/kumomta, include bounce classifications 2023-03-14 13:08:22 -07:00
Mike Hillyer a074e9ec02 Automated doc formatting fix 2023-03-14 20:01:13 +00:00
Mike Hillyer 475b661712 Fixing Lua parse error in example policy. 2023-03-14 16:00:28 -04:00
Mike Hillyer fe9d51f289 Adding Wez's example of dynamic DKIM key path signing across both ingress routes (SMTP/API). 2023-03-14 15:56:39 -04:00
Wez Furlong 6dd2f457ca ci: another pass at rocky9 2023-03-14 12:54:43 -07:00
Mike Hillyer 5980d42375 Working on the example policy. 2023-03-14 15:31:02 -04:00
Wez Furlong ab8b860e14 I think tom did break the build after all!
Make it easier to see that get-deps.sh failed.
Adjust perl-FindBin dep; it depends on which
version of which distro whether it even exists.
2023-03-14 12:30:19 -07:00
Wez Furlong 7ee9e43be2 upload-package: remove --fail-with-body
the version of curl on ubuntu 20.04 doesn't recognize it
2023-03-14 10:24:02 -07:00
Wez Furlong a3d4c49ef1 docs: avoid copying $ prefixes from console code blocks
Rather than using `bash` for the mix of shell and output,
use `console`. That will cause the text to be marked up so
that the `$` prompt stuff won't get selected by dragging.

Enable copy button to copy the whole block, and add some
js to filter out the the $ and # prefixes from that content.
2023-03-14 10:17:55 -07:00
Wez Furlong 4c71090669 docs: standardize the header before the generated list of functions 2023-03-14 10:17:55 -07:00
Mike Hillyer 778025a876 Making sure the simple_policy.lua imports properly into the docs and renders. I'll modify it from there into the example policy. 2023-03-14 12:29:52 -04:00
Tom Mairs f5b4e6a701 Updates for Debian 11 and Rocky 9 2023-03-14 16:13:00 +00:00
Cloud User 00fd8c3c96 Updates for Debian 11 and Rocky 9 2023-03-14 15:50:46 +00:00
Mike Hillyer 1a2ef03502 Automated doc formatting fix 2023-03-14 14:22:44 +00:00