mx-provider-split v1.0.0
mx-provider-split
Crystal command line tool and library. Give it a CSV of email addresses with the MX host you looked up for each one and it splits the list by mail provider: Google, Microsoft, security gateway (Proofpoint, Mimecast, Barracuda, Cisco), other, or no MX. Matching is on the host name's own suffix, so look-alike hosts do not match. It does no DNS lookups itself.
Part of the OneGTMLab free GTM tools. Background on the idea: MX record.
Install
shards build # then ./bin/mx-provider-split
Use
CSV columns: email, mx_host. Add --list google to print only the addresses on one provider.
$ ./bin/mx-provider-split sample.csv
provider contacts share
google 2 33.3%
microsoft 1 16.7%
gateway 1 16.7%
other 1 16.7%
no mx 1 16.7%
total 6, on Google or Microsoft mail 3
Test
crystal spec
Offline, no network calls, no dependencies beyond the language runtime. MIT licensed.
Repository
mx-provider-split
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 2 hours ago
- November 28, 2026
License
MIT License
Links
Synced at
Sat, 28 Nov 2026 21:31:37 GMT
Languages