Skip to content

Commit

Permalink
0.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Dec 4, 2024
1 parent 74a9313 commit 86b17eb
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 38 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stalwart Labs Ltd. <[email protected]>"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
repository = "https://github.com/stalwartlabs/cli"
homepage = "https://github.com/stalwartlabs/cli"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
readme = "README.md"
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "common"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/directory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "directory"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/imap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imap"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/jmap-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jmap_proto"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/jmap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jmap"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
12 changes: 6 additions & 6 deletions crates/jmap/src/api/management/troubleshoot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ impl TroubleshootApi for Server {
})?;
let response = dmarc_troubleshoot(self, request).await.ok_or_else(|| {
manage::error(
"Invalid message headers",
"Failed to parse message headers".into(),
"Invalid message body",
"Failed to parse message body".into(),
)
})?;

Expand Down Expand Up @@ -783,7 +783,7 @@ struct DmarcTroubleshootRequest {
ehlo_domain: String,
#[serde(rename = "mailFrom")]
mail_from: String,
headers: Option<String>,
body: Option<String>,
}

#[derive(Debug, Serialize, Deserialize)]
Expand Down Expand Up @@ -895,10 +895,10 @@ async fn dmarc_troubleshoot(
.await
};

let headers = request
.headers
let body = request
.body
.unwrap_or_else(|| format!("From: {mail_from}\r\nSubject: test\r\n\r\ntest"));
let auth_message = AuthenticatedMessage::parse_with_opts(headers.as_bytes(), true)?;
let auth_message = AuthenticatedMessage::parse_with_opts(body.as_bytes(), true)?;

let dkim_output = server
.core
Expand Down
4 changes: 2 additions & 2 deletions crates/main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://stalw.art"
keywords = ["imap", "jmap", "smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down Expand Up @@ -35,7 +35,7 @@ jemallocator = "0.5.0"

[features]
default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "azure", "enterprise"]
#default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "foundationdb", "enterprise"]
#default = ["rocks"]
sqlite = ["store/sqlite"]
foundationdb = ["store/foundation", "common/foundation"]
postgres = ["store/postgres"]
Expand Down
2 changes: 1 addition & 1 deletion crates/managesieve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "managesieve"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/nlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nlp"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/pop3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pop3"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/smtp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://stalw.art/smtp"
keywords = ["smtp", "email", "mail", "server"]
categories = ["email"]
license = "AGPL-3.0-only OR LicenseRef-SEL"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "store"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/trc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trc"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion crates/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utils"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"

[features]
default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "azure", "foundationdb"]
#default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "foundationdb"]
#default = ["rocks"]
sqlite = ["store/sqlite"]
foundationdb = ["store/foundation", "common/foundation"]
postgres = ["store/postgres"]
Expand Down
4 changes: 2 additions & 2 deletions tests/src/jmap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub async fn jmap_tests() {
.await;

webhooks::test(&mut params).await;
/*email_query::test(&mut params, delete).await;
email_query::test(&mut params, delete).await;
email_get::test(&mut params).await;
email_set::test(&mut params).await;
email_parse::test(&mut params).await;
Expand All @@ -396,7 +396,7 @@ pub async fn jmap_tests() {
crypto::test(&mut params).await;
blob::test(&mut params).await;
permissions::test(&params).await;
purge::test(&mut params).await;*/
purge::test(&mut params).await;
enterprise::test(&mut params).await;

if delete {
Expand Down

0 comments on commit 86b17eb

Please sign in to comment.