Every address goes through the same checks. The list checks are instant; the network checks run at the same time and are limited by EMAILFILTER_CHECK_TIMEOUT (10 seconds by default). Results of the network checks are cached, so the same domain is fast the second time.
Checks that cannot change the verdict are skipped
Before each network step, EmailFilter works out the best score the address could still reach with your weights. When even that is below EMAILFILTER_ACCEPT_SCORE, the remaining network checks are skipped and listed in the skipped field. A disposable domain (50 − 60, plus at most 20 + 20) is rejected without any network check; a domain without mail servers is rejected without the SMTP check or the domain age. The verdict is the same as with every check run, it just comes back at once, and no mail server is probed for nothing. The score then counts only the checks that ran.
Syntax
The address needs one @, a local part of at most 64 characters and a domain of at least two labels. Quoted local parts and IP-address domains are refused, as are special-use names such as localhost, .local, .test and .invalid. Internationalized domains are converted to punycode (pošta.rs becomes xn--pota-h6a.rs), and Unicode local parts are allowed. An address that fails gets HTTP 422 and no score.
Lists
The domain, and each of its parent domains, is looked up in the disposable list, your blacklist and your whitelist, so an entry for mailinator.com also matches mx.eu.mailinator.com. The local part is searched for words from the spam keyword list. See Domain lists.
Mail servers
EmailFilter asks DNS for the domain's MX records and sorts them by priority. A domain with no MX records, or with a null MX (a single record pointing to ., RFC 7505), cannot receive mail. A temporary DNS failure is not cached and counts as no mail servers for that one check.
SMTP mailbox check
EmailFilter connects to port 25 of the first mail server, says EHLO with EMAILFILTER_SMTP_HELO, sends MAIL FROM:<> (or EMAILFILTER_SMTP_FROM) and RCPT TO:<address>, and disconnects. No message is sent.
- A
250answer means the server accepts the mailbox. - A
5.1.xrejection, or a550,551or553without an enhanced code, means the mailbox does not exist. - Anything else, such as
5.7.1(our IP is blocked), a4xx(greylisting) or a timeout, gives no answer, and the next mail server is tried. At most two servers are asked.
When the server accepts the mailbox, EmailFilter also asks about a random address on the same domain. If that is accepted too, the server is a catch-all: catch_all is true, smtp_valid is false, and no points are given.
Many networks block outgoing port 25, and large providers refuse checks from servers without matching reverse DNS. Where that is the case, turn the check off with EMAILFILTER_SMTP_CHECK=false.
Domain age
The registration date comes from the registry's RDAP server, found through the IANA bootstrap file. For TLDs without RDAP, EmailFilter asks WHOIS (port 43) and reads the creation date from the answer. Domains younger than EMAILFILTER_NEW_DOMAIN_DAYS (30) are new_domain. When no date can be found, domain_age_in_days is null and nothing is taken off the score.
Gibberish
A local part with five or more consonants in a row (y counts as one), such as xkcdqwrt, is flagged. Real names rarely have that many.
Reputation
Each check of a domain is counted, and each POST /feedback/spam counts a report. The share of reports per check, at most 1, is multiplied by the reputation weight. Reports for a domain that was never checked count from its first check. Reset a domain with DELETE /reputation/{domain}.
Outgoing connections
The SMTP, RDAP and WHOIS connections refuse private, loopback, link-local, carrier-grade NAT and other non-public addresses. The check happens after DNS resolution, right before connecting, so a domain cannot point EmailFilter at your internal network.