v0.16.10
This commit is contained in:
@@ -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/).
|
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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -203,7 +203,10 @@ async fn rcpt() {
|
|||||||
session.mail_from("idn@example.net", "250").await;
|
session.mail_from("idn@example.net", "250").await;
|
||||||
session.rcpt_to("cornelius@straß6.de", "250").await;
|
session.rcpt_to("cornelius@straß6.de", "250").await;
|
||||||
session.rcpt_to("cornelius@xn--stra6-oqa.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();
|
let mut session = test.new_mta_session();
|
||||||
session.data.remote_ip_str = "10.0.0.1".into();
|
session.data.remote_ip_str = "10.0.0.1".into();
|
||||||
|
|||||||
Reference in New Issue
Block a user