This commit is contained in:
Maurus Decimus
2026-06-21 15:57:14 +02:00
parent 94bea19f01
commit cd00849d44
2 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
## [0.16.10] - 2026-06-XX
## [0.16.10] - 2026-06-21
If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If you are upgrading from v0.15.x and below, please read the [upgrading documentation](https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING/v0_16.md) for more information on how to upgrade from previous versions.

View File

@@ -203,7 +203,10 @@ async fn rcpt() {
session.mail_from("idn@example.net", "250").await;
session.rcpt_to("cornelius@straß6.de", "250").await;
session.rcpt_to("cornelius@xn--stra6-oqa.de", "250").await;
assert_eq!(session.data.rcpt_to.len(), 2);
assert_eq!(session.data.rcpt_to.len(), 1);
let rcpt = session.data.rcpt_to.last().unwrap();
assert_eq!(rcpt.address_lcase, "cornelius@xn--stra6-oqa.de");
assert_eq!(rcpt.domain, "xn--stra6-oqa.de");
let mut session = test.new_mta_session();
session.data.remote_ip_str = "10.0.0.1".into();