diff --git a/CHANGELOG.md b/CHANGELOG.md index 382aeb66..c4adec43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,54 @@ https://github.com/inbuxa/inbuxa-server/security/advisories. Every version PR adds that version's entry here. CI refuses a version this file has no entry for (`tools/release/version.py --changelog`). +## [27.1-rc.35] - 2026-11-20 + +Tenant limits hold across many accounts and parallel writes, tenants +verify the domain names they add, and a read-only config.json is reported +clearly. + +### Changed +- Multi-tenancy: a domain name a tenant administrator adds, as a new + domain, a rename or an alias, has to be verified before the server uses + it. The tenant publishes a TXT record at `_inbuxa-verification.` + with `inbuxa-verification=` (the domain's `verificationToken`), + then takes the name off the domain's `unverifiedNames`. Until then the + name takes no mail and gives no addresses to send as. Names a server + administrator adds need no record. Every name, aliases included, counts + toward the tenant's `maxDomains`. (#503) +- Items kept for undelete count toward their account's and tenant's disk + usage until they're destroyed, expire or are restored; deleting still + never fails. A held spam-training sample lets go of its message once the + account's own copy is gone. (#502, fixes #500) + +### Fixed +- The accounts in a tenant could together be given more disk quota than + the tenant has; four 5 GB accounts fitted in a 5 GB tenant. The total is + now checked (accounts with no quota of their own share what's left), on + restores and on domain moves into a tenant too. Thanks to BulTester. + (#497, inbuxa-admin#257) +- Parallel writes could each pass a tenant's count limits (accounts, + domains and the rest) and together go over them. Count and disk limits + are now checked under one lock per tenant. An object moved into a tenant + by an update now counts against its limits, and DKIM keys a domain adds + later count toward `maxDkimKeys`. (#501, fixes #498) +- Encrypted mail was checked against quota before encryption, invitations + without the notification they store, and a bigger vacation reply not at + all. (#502, fixes #500) +- Saving the data store settings when config.json is read-only (such as a + Kubernetes mount) failed the whole request. That object is now refused + with `forbidden`, saying the settings are managed outside the server and + where. (#496) + +### Upgrading +- Domain names saved before this version are kept as they are, verified. + If tenant administrators can manage domains on your server, review the + domains and aliases your tenants have added. +- Items deleted before this version aren't counted while they're kept; + items deleted from now on are. +- 27.1-rc.34 to 27.1-rc.35 rolls like any update, with no store layout + step. + ## [27.1-rc.34] - 2026-11-20 Tenants can no longer hand out more disk space than they have, listeners diff --git a/Cargo.lock b/Cargo.lock index b86e7a1f..8aff0424 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1330,7 +1330,7 @@ dependencies = [ [[package]] name = "common" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "aes-gcm-siv", "ahash", @@ -1518,7 +1518,7 @@ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" [[package]] name = "coordinator" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "async-nats", "futures", @@ -2003,7 +2003,7 @@ checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" [[package]] name = "dav" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "calcard", "chrono", @@ -2027,7 +2027,7 @@ dependencies = [ [[package]] name = "dav-proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "calcard", "chrono", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "directory" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "argon2 0.6.0", @@ -2542,7 +2542,7 @@ dependencies = [ [[package]] name = "email" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "aes 0.9.3", "aes-gcm 0.11.1", @@ -3268,7 +3268,7 @@ dependencies = [ [[package]] name = "groupware" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "calcard", @@ -3570,7 +3570,7 @@ dependencies = [ [[package]] name = "http" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "async-stream", "base64 0.23.1", @@ -3658,7 +3658,7 @@ dependencies = [ [[package]] name = "http_proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "compact_str", @@ -4176,7 +4176,7 @@ checksum = "65b27460c2c92b037f3f94c538ed9a3342f3fdf923606781629ccb35f82d042a" [[package]] name = "imap" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "common", @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "imap_proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "base64 0.23.1", @@ -4216,7 +4216,7 @@ dependencies = [ [[package]] name = "inbuxa" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "coordinator", @@ -4224,7 +4224,7 @@ dependencies = [ "directory", "email", "groupware", - "http 27.1.0-rc.34", + "http 27.1.0-rc.35", "http_proto", "imap", "jmap", @@ -4250,7 +4250,7 @@ dependencies = [ [[package]] name = "inbuxa-features" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "aho-corasick", @@ -4284,7 +4284,7 @@ dependencies = [ [[package]] name = "inbuxa-outbound-tls" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "idna", "mail-auth", @@ -4298,7 +4298,7 @@ dependencies = [ [[package]] name = "inbuxa-relay" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "aws-lc-rs", "futures-util", @@ -4323,7 +4323,7 @@ dependencies = [ [[package]] name = "inbuxa-relay-proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "aws-lc-rs", "base64 0.23.1", @@ -4571,7 +4571,7 @@ dependencies = [ [[package]] name = "jmap" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "async-stream", "base64 0.23.1", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "jmap_proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "calcard", @@ -5169,7 +5169,7 @@ dependencies = [ [[package]] name = "managesieve" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "compact_str", @@ -5304,7 +5304,7 @@ checksum = "c797b9d6bb23aab2fc369c65f871be49214f5c759af65bde26ffaaa2b646b492" [[package]] name = "migration" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "email", @@ -5574,7 +5574,7 @@ dependencies = [ [[package]] name = "nlp" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "hashify", @@ -6504,7 +6504,7 @@ dependencies = [ [[package]] name = "pop3" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "directory", @@ -6726,7 +6726,7 @@ dependencies = [ [[package]] name = "proc_macros" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "quote", "syn 3.0.9", @@ -7383,7 +7383,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "registry" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "hashify", @@ -7979,7 +7979,7 @@ dependencies = [ [[package]] name = "scim" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "base64 0.23.1", @@ -8005,7 +8005,7 @@ dependencies = [ [[package]] name = "scim-proto" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "hashify", "serde", @@ -8383,7 +8383,7 @@ dependencies = [ [[package]] name = "services" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "aes-gcm 0.11.1", "aho-corasick", @@ -8708,7 +8708,7 @@ checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" [[package]] name = "smtp" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "base64 0.23.1", @@ -8801,7 +8801,7 @@ dependencies = [ [[package]] name = "spam-filter" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "common", "compact_str", @@ -8949,7 +8949,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "store" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "arc-swap", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "tests" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "aws-lc-rs", @@ -9231,7 +9231,7 @@ dependencies = [ "form_urlencoded", "futures", "groupware", - "http 27.1.0-rc.34", + "http 27.1.0-rc.35", "http_proto", "hyper", "hyper-util", @@ -9847,7 +9847,7 @@ dependencies = [ [[package]] name = "trc" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "base64 0.23.1", @@ -9956,7 +9956,7 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "types" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "blake3", "compact_str", @@ -10126,7 +10126,7 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "utils" -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" dependencies = [ "ahash", "arcstr", diff --git a/Cargo.toml b/Cargo.toml index 1825a752..6cde85dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ members = [ # 27.1.3 is "27.1.3", 27.1.0-rc.1 is "27.1-rc.1". tools/release/version.py # reads and bumps it. [workspace.package] -version = "27.1.0-rc.34" +version = "27.1.0-rc.35" [workspace.lints.clippy] result_unit_err = "allow"