]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
src/Main.hs: add a few more common email domains
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Apr 2024 23:31:19 +0000 (19:31 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Apr 2024 23:31:19 +0000 (19:31 -0400)
src/Main.hs

index 1cc4c73aa47d963e56f30a7188f05781f010b76c..c220aaadc186d1be01d2432c7b22694323ee756d 100644 (file)
@@ -41,13 +41,25 @@ import EmailAddress(
 resolv_conf ::  ResolvConf
 resolv_conf = defaultResolvConf { resolvTimeout = 10 * 1000 * 1000 }
 
--- | A list of common domains, there's no need to waste MX lookups
---   on these.
+-- | A list of common domains, there's no need to waste MX lookups on
+--   these. This is a very limited list; I don't want to be in the
+--   business of monitoring a million domains for MX record updates.
 common_domains :: [Domain]
 common_domains = map BS.pack [ "aol.com",
                                "comcast.net",
+                               "cox.net",
                                "gmail.com",
+                               "gmx.de",
+                               "googlemail.com",
+                               "hotmail.com",
+                               "icloud.com",
+                               "live.com",
+                               "me.com",
                                "msn.com",
+                               "outlook.com",
+                               "proton.me",
+                               "protonmail.ch",
+                               "protonmail.com",
                                "yahoo.com",
                                "verizon.net" ]