mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-28 17:26:14 +00:00
8e067ef01ef23b6effbc3bb0b3c54ad6a93b1d0d
This gives a stable order and thus a stable destination site name.
For example:
```
hanmail.net -> MX { exchanges: ["mx4.hanmail.net.", "mx2.hanmail.net.", "mx1.hanmail.net.", "mx3.hanmail.net."], preference: 10 }
```
The MX result from the Resolver sorts groups of hosts by preference
(good!), but the list of exchanges within a given preference level are
in an undefined order.
Sorting the list of exchanges at each priority level gives a consistent
and stable overall ordering.
kumomta
Debugging/Tracing
KUMOD_LOG=kumod=trace cargo run -p kumod
Contributing
Ensure that the code is formatted before submitting a PR.
You need to install StyLua to format lua:
$ cargo install stylua --features lua54
Then you can format both the rust and the lua code:
$ make fmt
Description
The first Open-Source high-performance MTA developed from the ground-up for high-volume email sending environments.
37 MiB
Languages
Rust
91.8%
Lua
6.3%
Python
0.9%
Shell
0.8%
JavaScript
0.1%