2020-02-12 08:35:32 +00:00
|
|
|
|
# SpamAssassin Milter changelog
|
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
## 0.3.0 (unreleased)
|
|
|
|
|
|
2022-02-21 17:58:24 +00:00
|
|
|
|
In this release, the milter implementation has been replaced with the new
|
|
|
|
|
[indymilter] library. With this change, there is no longer a dependency on the
|
|
|
|
|
libmilter C library. SpamAssassin Milter is now a pure Rust application.
|
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
The minimum supported Rust version is now 1.56.1.
|
|
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
|
|
* The minimum supported Rust version is now 1.56.1 (using Rust edition 2021).
|
2022-02-21 17:58:24 +00:00
|
|
|
|
* The syntax of the mandatory `SOCKET` argument has changed:
|
|
|
|
|
- Use <code>inet:<em>host</em>:<em>port</em></code> for a TCP socket.
|
|
|
|
|
- Use <code>unix:<em>path</em></code> for a UNIX domain socket.
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* The command-line help information has changed its appearance slightly with the
|
2022-03-06 16:42:33 +00:00
|
|
|
|
update of the underlying [clap] CLI library.
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* The changelog is now maintained in a more structured format, similar to
|
|
|
|
|
https://keepachangelog.com.
|
|
|
|
|
|
2022-02-21 17:58:24 +00:00
|
|
|
|
[indymilter]: https://crates.io/crates/indymilter
|
2022-03-06 16:42:33 +00:00
|
|
|
|
[clap]: https://crates.io/crates/clap
|
2022-02-21 17:58:24 +00:00
|
|
|
|
|
2021-12-23 19:50:35 +00:00
|
|
|
|
## 0.2.1 (2021-12-23)
|
2021-12-19 08:46:15 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Various cosmetic improvements in code and tests, and updates to documentation.
|
|
|
|
|
* Update dependencies.
|
2021-12-19 08:46:15 +00:00
|
|
|
|
|
2021-08-26 08:46:04 +00:00
|
|
|
|
## 0.2.0 (2021-08-26)
|
2021-08-01 11:25:30 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Bump minimum supported Rust version to 1.46.0.
|
|
|
|
|
* (defaults change) Invoke `spamc` using the absolute path `/usr/bin/spamc`
|
|
|
|
|
(instead of any executable named `spamc` in the search path). To customise
|
|
|
|
|
this, set the environment variable `SPAMASSASSIN_MILTER_SPAMC` to the desired
|
|
|
|
|
path when building the application.
|
|
|
|
|
* Revise header rewriting logic. Handling and placement of `X-Spam-` headers now
|
|
|
|
|
more accurately mirrors that applied by SpamAssassin.
|
|
|
|
|
* Include authentication status in information passed on to SpamAssassin.
|
|
|
|
|
* Update dependencies.
|
2021-08-01 11:25:30 +00:00
|
|
|
|
|
2021-05-17 06:43:44 +00:00
|
|
|
|
## 0.1.6 (2021-05-17)
|
2021-04-29 16:32:13 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Improve processing of incoming `X-Spam-Flag` headers. Previously, in rare
|
|
|
|
|
circumstances a message flagged as spam would not be rejected as requested.
|
|
|
|
|
Reported by Petar Bogdanovic.
|
|
|
|
|
* Update dependencies.
|
2021-04-29 16:32:13 +00:00
|
|
|
|
|
2021-03-16 08:19:46 +00:00
|
|
|
|
## 0.1.5 (2021-03-16)
|
2021-01-18 08:45:19 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Read output from `spamc` in a separate thread in order to avoid blocking when
|
|
|
|
|
processing large messages in certain configurations.
|
|
|
|
|
* Document requirement to keep `--max-message-size` setting in sync with
|
|
|
|
|
`spamc`’s `--max-size` setting.
|
|
|
|
|
* Remove overly strict validation of command-line options.
|
|
|
|
|
* Properly specify minimal dependency versions in `Cargo.toml`.
|
|
|
|
|
* Document minimum supported Rust version 1.42.0.
|
2021-01-18 08:45:19 +00:00
|
|
|
|
|
2020-10-18 07:54:39 +00:00
|
|
|
|
## 0.1.4 (2020-10-18)
|
2020-10-15 15:45:01 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Correct a typo in log messages.
|
|
|
|
|
* Isolate integration tests from any existing `spamc` configuration present on
|
|
|
|
|
the host.
|
|
|
|
|
* Various à la mode style improvements in code and project metadata.
|
2020-10-15 15:45:01 +00:00
|
|
|
|
|
2020-07-04 08:26:59 +00:00
|
|
|
|
## 0.1.3 (2020-07-04)
|
2020-06-14 07:53:08 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Add `--reply-code`, `--reply-status-code`, and `--reply-text` options to allow
|
|
|
|
|
customising the SMTP reply when rejecting spam.
|
|
|
|
|
* Log a warning and do not truncate the message body when `--max-message-size`
|
|
|
|
|
is misconfigured (must be ≥ `spamc` max size as documented).
|
|
|
|
|
* Update dependencies in `Cargo.lock`.
|
2020-06-14 07:53:08 +00:00
|
|
|
|
|
2020-06-07 06:19:53 +00:00
|
|
|
|
## 0.1.2 (2020-06-07)
|
2020-05-17 07:05:37 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Bump milter dependency to version 0.2.1.
|
|
|
|
|
* Remove existing UNIX domain socket at target path during startup.
|
|
|
|
|
* Derive `Eq` and `PartialEq` for configuration structs.
|
2020-05-17 07:05:37 +00:00
|
|
|
|
|
2020-04-13 14:44:35 +00:00
|
|
|
|
## 0.1.1 (2020-04-13)
|
2020-04-07 12:35:55 +00:00
|
|
|
|
|
2022-01-31 13:17:07 +00:00
|
|
|
|
* Use `Write::write_all` instead of `Write::write` in `spamc` client, in order
|
|
|
|
|
to ensure buffers are written in their entirety.
|
|
|
|
|
* Do not include `.gitignore` file in published crate.
|
2020-04-07 12:35:55 +00:00
|
|
|
|
|
2020-02-23 06:57:49 +00:00
|
|
|
|
## 0.1.0 (2020-02-23)
|
2020-02-12 08:35:32 +00:00
|
|
|
|
|
|
|
|
|
Initial release.
|