This commit is contained in:
mdecimus
2024-01-14 10:53:41 +01:00
parent 02ddbfcc64
commit 4b5576cab4
15 changed files with 53 additions and 20 deletions

View File

@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
## [0.5.3] - 2024-01-14
Please read the [UPGRADING.md](UPGRADING.md) file for more information on how to upgrade from previous versions.
## Added
- Built-in [fail2ban](https://stalw.art/docs/server/fail2ban) and IP address/mask blocking (#164).
- CLI: Read URL and credentials from environment variables (#88).
- mySQL driver: Add `max-allowed-packet` setting (#201).
### Changed
- Unified storage settings for all services (read the [UPGRADING.md](UPGRADING.md) for details)
### Fixed
- IMAP retrieval of auto-encrypted emails (#203).
- mySQL driver: Parse `timeout.wait` property as duration (#202).
- `X-Forwarded-For` header on JMAP Rate-Limit does not work (#208).
- Use timeouts in install script (#138).
## [0.5.2] - 2024-01-07
Please read the [UPGRADING.md](UPGRADING.md) file for more information on how to upgrade from previous versions.

18
Cargo.lock generated
View File

@@ -2551,7 +2551,7 @@ checksum = "029d73f573d8e8d63e6d5020011d3255b28c3ba85d6cf870a07184ed23de9284"
[[package]]
name = "imap"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"ahash 0.8.7",
"dashmap",
@@ -2728,7 +2728,7 @@ dependencies = [
[[package]]
name = "jmap"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"aes",
"aes-gcm",
@@ -3138,7 +3138,7 @@ dependencies = [
[[package]]
name = "mail-server"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"directory",
"imap",
@@ -3155,7 +3155,7 @@ dependencies = [
[[package]]
name = "managesieve"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"ahash 0.8.7",
"bincode",
@@ -3422,7 +3422,7 @@ dependencies = [
[[package]]
name = "nlp"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"ahash 0.8.7",
"bincode",
@@ -5385,7 +5385,7 @@ checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970"
[[package]]
name = "smtp"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"ahash 0.8.7",
"bincode",
@@ -5507,7 +5507,7 @@ dependencies = [
[[package]]
name = "stalwart-cli"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"clap",
"console",
@@ -5531,7 +5531,7 @@ dependencies = [
[[package]]
name = "stalwart-install"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"base64 0.21.5",
"clap",
@@ -6414,7 +6414,7 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]]
name = "utils"
version = "0.5.2"
version = "0.5.3"
dependencies = [
"ahash 0.8.7",
"arc-swap",

View File

@@ -79,6 +79,7 @@ Key features:
- Encryption at rest with **S/MIME** or **OpenPGP**.
- Automatic TLS certificate provisioning with [ACME](https://datatracker.ietf.org/doc/html/rfc8555).
- OAuth 2.0 [authorization code](https://www.rfc-editor.org/rfc/rfc8628) and [device authorization](https://www.rfc-editor.org/rfc/rfc8628) flows.
- Automated blocking of hosts that cause multiple authentication errors (aka **fail2ban**).
- Access Control Lists (ACLs).
- Rate limiting.
- Security audited (read the [report](https://stalw.art/blog/security-audit)).

View File

@@ -1,3 +1,19 @@
Upgrading from `v0.5.2` to `v0.5.3`
-----------------------------------
- The following configuration attributes have been renamed, see [store.toml](https://github.com/stalwartlabs/mail-server/blob/main/resources/config/common/store.toml) for an example:
- `jmap.store.data` -> `storage.data`
- `jmap.store.fts` -> `storage.fts`
- `jmap.store.blob` -> `storage.blob`
- `jmap.encryption.*` -> `storage.encryption.*`
- `jmap.spam.header` -> `storage.spam.header`
- `jmap.fts.default-language` -> `storage.fts.default-language`
- `jmap.cluster.node-id` -> `storage.cluster.node-id`
- `management.directory` and `sieve.trusted.default.directory` -> `storage.directory`
- `sieve.trusted.default.store` -> `storage.lookup`
- Proxy networks are now configured under `server.proxy.trusted-networks` rather than `server.proxy-trusted-networks`. IP addresses/masks have to be defined within a set (`{}`) rather than a list (`[]`), see [server.toml](https://github.com/stalwartlabs/mail-server/blob/main/resources/config/common/server.toml) for an example.
Upgrading from `v0.5.1` to `v0.5.2`
-----------------------------------

View File

@@ -5,7 +5,7 @@ authors = ["Stalwart Labs Ltd. <hello@stalw.art>"]
license = "AGPL-3.0-only"
repository = "https://github.com/stalwartlabs/cli"
homepage = "https://github.com/stalwartlabs/cli"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
readme = "README.md"
resolver = "2"

View File

@@ -1,6 +1,6 @@
[package]
name = "imap"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -5,7 +5,7 @@ authors = ["Stalwart Labs Ltd. <hello@stalw.art>"]
license = "AGPL-3.0-only"
repository = "https://github.com/stalwartlabs/mail-server"
homepage = "https://github.com/stalwartlabs/mail-server"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
readme = "README.md"
resolver = "2"

View File

@@ -1,6 +1,6 @@
[package]
name = "jmap"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -7,7 +7,7 @@ homepage = "https://stalw.art"
keywords = ["imap", "jmap", "smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -73,8 +73,6 @@ async fn main() -> std::io::Result<()> {
.reload(&config)
.failed("Invalid configuration");
let todo = "Update config.zip";
// Parse directories
let directory = config
.parse_directory(&stores, &servers, data_store)

View File

@@ -1,6 +1,6 @@
[package]
name = "managesieve"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -1,6 +1,6 @@
[package]
name = "nlp"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -7,7 +7,7 @@ homepage = "https://stalw.art/smtp"
keywords = ["smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

View File

@@ -1,6 +1,6 @@
[package]
name = "utils"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
resolver = "2"

Binary file not shown.