Commit Graph
496 Commits
Author SHA1 Message Date
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
Wez Furlong 09a251d5a1 docs: adjust queue example to show composing domain and source params 2023-03-15 10:13:56 -07:00
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