Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

fix: Add "utilisateur inconnu" in invalid parser (#1594)

Amauryfb9165303e2d
diff --git a/Cargo.lock b/Cargo.lock
index aee23054..501deeea 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,7 +601,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "check-if-email-exists"
-version = "0.11.3"
+version = "0.11.4"
dependencies = [
"anyhow",
"async-recursion",
@@ -633,7 +633,7 @@ dependencies = [
[[package]]
name = "check-if-email-exists-cli"
-version = "0.11.3"
+version = "0.11.4"
dependencies = [
"anyhow",
"check-if-email-exists",
@@ -3062,7 +3062,7 @@ dependencies = [
[[package]]
name = "reacher_backend"
-version = "0.11.3"
+version = "0.11.4"
dependencies = [
"anyhow",
"async-smtp",
@@ -3095,7 +3095,7 @@ dependencies = [
[[package]]
name = "reacher_sqs"
-version = "0.11.3"
+version = "0.11.4"
dependencies = [
"check-if-email-exists",
"lambda_runtime",
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
index 72b3920e..b3a6019b 100644
--- a/backend/Cargo.toml
+++ b/backend/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "reacher_backend"
-version = "0.11.3"
+version = "0.11.4"
edition = "2018"
license = "AGPL-3.0"
publish = false
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 3d88a7e3..62202c54 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check-if-email-exists-cli"
-version = "0.11.3"
+version = "0.11.4"
default-run = "check_if_email_exists"
edition = "2018"
description = "Check if an email address exists without sending any email."
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 505c626a..c82c373f 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "check-if-email-exists"
-version = "0.11.3"
+version = "0.11.4"
authors = ["Amaury <[email protected]>"]
categories = ["email"]
description = "Check if an email address exists without sending any email"
diff --git a/core/src/smtp/parser.rs b/core/src/smtp/parser.rs
index 39d91eb9..b47a17dc 100644
--- a/core/src/smtp/parser.rs
+++ b/core/src/smtp/parser.rs
@@ -106,6 +106,8 @@ pub fn is_invalid(e: &str, email: &EmailAddress) -> bool {
|| e.contains("verify address failed")
// transient: unable to verify user (on @computan.net)
|| e.contains("unable to verify user")
+ // permanent: 5.1.1 Utilisateur inconnu (on @sante.fr)
+ || e.contains("utilisateur inconnu")
}
/// Check that the mailbox has a full inbox.
diff --git a/sqs/Cargo.toml b/sqs/Cargo.toml
index 0badeea3..638f7d04 100644
--- a/sqs/Cargo.toml
+++ b/sqs/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "reacher_sqs"
-version = "0.11.3"
+version = "0.11.4"
edition = "2018"
license = "AGPL-3.0"
publish = false