Skip to content

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

1.3 KB
Raw Blame
{
	"by_domain": {
		"gmail.com": { "rules": ["SkipCatchAll"] },
		"hotmail.com": { "rules": ["SkipCatchAll"] },
		"hotmail.fr": { "rules": ["SkipCatchAll"] },
		"hotmail.nl": { "rules": ["SkipCatchAll"] },
		"yahoo.com": { "rules": ["SkipCatchAll"] },
		"yahoo.fr": { "rules": ["SkipCatchAll"] }
	},
	"by_mx": {
		"futuresinitiative.org.": { "rules": ["SmtpTimeout45s"] },
		"mail.digimarcon.com.": { "rules": ["SmtpTimeout45s"] },
		"mail.glasasoftball.org.": { "rules": ["SmtpTimeout45s"] },
		"nosotrosorg.com.": { "rules": ["SmtpTimeout45s"] }
	},
	"by_mx_suffix": {
		".antispamcloud.com.": {
			"rules": ["SmtpTimeout45s", "SkipCatchAll"],
			"_comment": "Some <RCPT TO> take 30s to respond (sometimes only on 2nd attempt, not deterministic), so we skip the catch-all one, and bump the timeout to well over 30s."
		}
	},
	"rules": {
		"SkipCatchAll": { "_comment": "Don't perform catch-all check" },
		"SmtpTimeout45s": {
			"_comment": "Set SMTP connection timeout to at least 45s. If the user request set an even higher timeout, take that one. Please note that this timeout is **per SMTP connection**. We might try 2 connections per email: if the 1st one failed, then we connect again to avoid potential greylisting, in which case the whole verification takes 1min30s."
		}
	}
}