Initial commit
This commit is contained in:
commit
dda0e499ac
28
.gitignore
vendored
Normal file
28
.gitignore
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
|
||||||
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directory
|
||||||
|
# Commenting this out is preferred by some people, see
|
||||||
|
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# Users Environment Variables
|
||||||
|
.lock-wscript
|
14
LICENSE
Normal file
14
LICENSE
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Copyright (c) 2015, Will White <will@mapbox.com>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
51
README.md
Normal file
51
README.md
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
[](https://travis-ci.org/willwhite/freemail)
|
||||||
|
|
||||||
|
# freemail
|
||||||
|
|
||||||
|
A database of free and [disposable](http://en.wikipedia.org/wiki/Disposable_email_address)
|
||||||
|
email domains and a handy Node.js module for querying it.
|
||||||
|
|
||||||
|
Use the Node.js module or access the files in the `./data` directory and parse
|
||||||
|
with your language of choice.
|
||||||
|
|
||||||
|
In an effort to create the most up-to-date list of domains, the database can be
|
||||||
|
synchronized with various lists from around the web. You can also add new
|
||||||
|
domains directly by opening a pull request.
|
||||||
|
|
||||||
|
## Database
|
||||||
|
|
||||||
|
There are three key data files in this project:
|
||||||
|
|
||||||
|
- **free.txt** contains a list of domains that are known to provide free email service
|
||||||
|
- **disposable.txt** contains a list of domains that are known to provide disposable email add
|
||||||
|
- **blacklist.txt** contains a list of domains that this project will refuse to add to either list
|
||||||
|
|
||||||
|
Domains may only be a member of one list.
|
||||||
|
|
||||||
|
## Updating the database
|
||||||
|
|
||||||
|
Run `./update` to pull in the latest domains from the sources listed in
|
||||||
|
`sources.txt`. All new domains will be placed in `free.txt` by default.
|
||||||
|
If any domains provide disposable email service, they may be moved to
|
||||||
|
`disposable.txt`.
|
||||||
|
|
||||||
|
## Node
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install --save freemail
|
||||||
|
```
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
var freemail = require('freemail');
|
||||||
|
freemail.isFree('smith@gmail.com');
|
||||||
|
> true
|
||||||
|
freemail.isFree('jack@mailinater.com');
|
||||||
|
> true
|
||||||
|
freemail.isDisposable('smith@gmail.com');
|
||||||
|
> false
|
||||||
|
freemail.isDisposable('jack@mailinater.com');
|
||||||
|
> true
|
||||||
|
|
||||||
|
```
|
4
_travis.yml
Normal file
4
_travis.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
language: node_js
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- "0.10.28"
|
4
data/blacklist.txt
Normal file
4
data/blacklist.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.ddns.org
|
||||||
|
.findhere.com
|
||||||
|
.freeservers.com
|
||||||
|
.zzn.com
|
786
data/disposable.txt
Normal file
786
data/disposable.txt
Normal file
@ -0,0 +1,786 @@
|
|||||||
|
0-mail.com
|
||||||
|
0815.ru
|
||||||
|
0clickemail.com
|
||||||
|
0wnd.net
|
||||||
|
0wnd.org
|
||||||
|
10minutemail.co.za
|
||||||
|
10minutemail.com
|
||||||
|
123-m.com
|
||||||
|
1fsdfdsfsdf.tk
|
||||||
|
1pad.de
|
||||||
|
20minutemail.com
|
||||||
|
21cn.com
|
||||||
|
2fdgdfgdfgdf.tk
|
||||||
|
2prong.com
|
||||||
|
30minutemail.com
|
||||||
|
33mail.com
|
||||||
|
3d-painting.com
|
||||||
|
3trtretgfrfe.tk
|
||||||
|
4gfdsgfdgfd.tk
|
||||||
|
4warding.com
|
||||||
|
4warding.net
|
||||||
|
4warding.org
|
||||||
|
5ghgfhfghfgh.tk
|
||||||
|
60minutemail.com
|
||||||
|
675hosting.com
|
||||||
|
675hosting.net
|
||||||
|
675hosting.org
|
||||||
|
6hjgjhgkilkj.tk
|
||||||
|
6ip.us
|
||||||
|
6paq.com
|
||||||
|
6url.com
|
||||||
|
75hosting.com
|
||||||
|
75hosting.net
|
||||||
|
75hosting.org
|
||||||
|
7tags.com
|
||||||
|
9ox.net
|
||||||
|
a-bc.net
|
||||||
|
acentri.com
|
||||||
|
advantimo.com
|
||||||
|
afrobacon.com
|
||||||
|
agedmail.com
|
||||||
|
ajaxapp.net
|
||||||
|
ama-trade.de
|
||||||
|
amail.com
|
||||||
|
amilegit.com
|
||||||
|
amiri.net
|
||||||
|
amiriindustries.com
|
||||||
|
anonbox.net
|
||||||
|
anonmails.de
|
||||||
|
anonymbox.com
|
||||||
|
antichef.com
|
||||||
|
antichef.net
|
||||||
|
antireg.ru
|
||||||
|
antispam.de
|
||||||
|
antispammail.de
|
||||||
|
appixie.com
|
||||||
|
armyspy.com
|
||||||
|
artman-conception.com
|
||||||
|
aver.com
|
||||||
|
azmeil.tk
|
||||||
|
baxomale.ht.cx
|
||||||
|
beddly.com
|
||||||
|
beefmilk.com
|
||||||
|
bigstring.com
|
||||||
|
binkmail.com
|
||||||
|
bio-muesli.net
|
||||||
|
bobmail.info
|
||||||
|
bodhi.lawlita.com
|
||||||
|
bofthew.com
|
||||||
|
bootybay.de
|
||||||
|
boun.cr
|
||||||
|
bouncr.com
|
||||||
|
breakthru.com
|
||||||
|
brefmail.com
|
||||||
|
brennendesreich.de
|
||||||
|
broadbandninja.com
|
||||||
|
bsnow.net
|
||||||
|
bspamfree.org
|
||||||
|
bugmenot.com
|
||||||
|
bumpymail.com
|
||||||
|
bund.us
|
||||||
|
burstmail.info
|
||||||
|
buymoreplays.com
|
||||||
|
byom.de
|
||||||
|
c2.hu
|
||||||
|
card.zp.ua
|
||||||
|
casualdx.com
|
||||||
|
cbair.com
|
||||||
|
cek.pm
|
||||||
|
centermail.com
|
||||||
|
centermail.net
|
||||||
|
chammy.info
|
||||||
|
childsavetrust.org
|
||||||
|
chogmail.com
|
||||||
|
choicemail1.com
|
||||||
|
clixser.com
|
||||||
|
cmail.net
|
||||||
|
cmail.org
|
||||||
|
coldemail.info
|
||||||
|
cool.fr.nf
|
||||||
|
correo.blogos.net
|
||||||
|
cosmorph.com
|
||||||
|
courriel.fr.nf
|
||||||
|
courrieltemporaire.com
|
||||||
|
crapmail.org
|
||||||
|
cubiclink.com
|
||||||
|
curryworld.de
|
||||||
|
cust.in
|
||||||
|
cuvox.de
|
||||||
|
d3p.dk
|
||||||
|
dacoolest.com
|
||||||
|
daintly.com
|
||||||
|
dandikmail.com
|
||||||
|
dayrep.com
|
||||||
|
dcemail.com
|
||||||
|
deadaddress.com
|
||||||
|
deadspam.com
|
||||||
|
delikkt.de
|
||||||
|
despam.it
|
||||||
|
despammed.com
|
||||||
|
devnullmail.com
|
||||||
|
dfgh.net
|
||||||
|
digitalsanctuary.com
|
||||||
|
dingbone.com
|
||||||
|
discard.email
|
||||||
|
discardmail.com
|
||||||
|
discardmail.de
|
||||||
|
disposableaddress.com
|
||||||
|
disposableemailaddresses.com
|
||||||
|
disposableemailaddresses.emailmiser.com
|
||||||
|
disposableinbox.com
|
||||||
|
dispose.it
|
||||||
|
disposeamail.com
|
||||||
|
disposemail.com
|
||||||
|
dispostable.com
|
||||||
|
dm.w3internet.co.uk
|
||||||
|
dm.w3internet.co.ukexample.com
|
||||||
|
dodgeit.com
|
||||||
|
dodgit.com
|
||||||
|
dodgit.org
|
||||||
|
doiea.com
|
||||||
|
donemail.ru
|
||||||
|
dontreg.com
|
||||||
|
dontsendmespam.de
|
||||||
|
drdrb.com
|
||||||
|
drdrb.net
|
||||||
|
droplar.com
|
||||||
|
duam.net
|
||||||
|
dump-email.info
|
||||||
|
dumpandjunk.com
|
||||||
|
dumpmail.de
|
||||||
|
dumpyemail.com
|
||||||
|
e-mail.com
|
||||||
|
e-mail.org
|
||||||
|
e4ward.com
|
||||||
|
easytrashmail.com
|
||||||
|
einmalmail.de
|
||||||
|
einrot.com
|
||||||
|
eintagsmail.de
|
||||||
|
email60.com
|
||||||
|
emaildienst.de
|
||||||
|
emailgo.de
|
||||||
|
emailias.com
|
||||||
|
emailigo.de
|
||||||
|
emailinfive.com
|
||||||
|
emaillime.com
|
||||||
|
emailmiser.com
|
||||||
|
emailproxsy.com
|
||||||
|
emailsensei.com
|
||||||
|
emailtemporanea.com
|
||||||
|
emailtemporanea.net
|
||||||
|
emailtemporar.ro
|
||||||
|
emailtemporario.com.br
|
||||||
|
emailthe.net
|
||||||
|
emailtmp.com
|
||||||
|
emailto.de
|
||||||
|
emailwarden.com
|
||||||
|
emailx.at.hm
|
||||||
|
emailxfer.com
|
||||||
|
emeil.in
|
||||||
|
emeil.ir
|
||||||
|
emil.com
|
||||||
|
emz.net
|
||||||
|
enterto.com
|
||||||
|
ephemail.net
|
||||||
|
ero-tube.org
|
||||||
|
etranquil.com
|
||||||
|
etranquil.net
|
||||||
|
etranquil.org
|
||||||
|
evopo.com
|
||||||
|
explodemail.com
|
||||||
|
express.net.ua
|
||||||
|
eyepaste.com
|
||||||
|
fakeinbox.com
|
||||||
|
fakeinformation.com
|
||||||
|
fammix.com
|
||||||
|
fansworldwide.de
|
||||||
|
fantasymail.de
|
||||||
|
fastacura.com
|
||||||
|
fastchevy.com
|
||||||
|
fastchrysler.com
|
||||||
|
fastkawasaki.com
|
||||||
|
fastmazda.com
|
||||||
|
fastmitsubishi.com
|
||||||
|
fastnissan.com
|
||||||
|
fastsubaru.com
|
||||||
|
fastsuzuki.com
|
||||||
|
fasttoyota.com
|
||||||
|
fastyamaha.com
|
||||||
|
fightallspam.com
|
||||||
|
filzmail.com
|
||||||
|
fivemail.de
|
||||||
|
fizmail.com
|
||||||
|
fleckens.hu
|
||||||
|
fr33mail.info
|
||||||
|
frapmail.com
|
||||||
|
friendlymail.co.uk
|
||||||
|
front14.org
|
||||||
|
fuckingduh.com
|
||||||
|
fudgerub.com
|
||||||
|
fux0ringduh.com
|
||||||
|
fyii.de
|
||||||
|
garliclife.com
|
||||||
|
gehensiemirnichtaufdensack.de
|
||||||
|
get1mail.com
|
||||||
|
get2mail.fr
|
||||||
|
getairmail.com
|
||||||
|
getmails.eu
|
||||||
|
getonemail.com
|
||||||
|
getonemail.net
|
||||||
|
ghosttexter.de
|
||||||
|
giantmail.de
|
||||||
|
girlsundertheinfluence.com
|
||||||
|
gishpuppy.com
|
||||||
|
gmial.com
|
||||||
|
goemailgo.com
|
||||||
|
gotmail.net
|
||||||
|
gotmail.org
|
||||||
|
gotti.otherinbox.com
|
||||||
|
gowikibooks.com
|
||||||
|
gowikicampus.com
|
||||||
|
gowikicars.com
|
||||||
|
gowikifilms.com
|
||||||
|
gowikigames.com
|
||||||
|
gowikimusic.com
|
||||||
|
gowikinetwork.com
|
||||||
|
gowikitravel.com
|
||||||
|
gowikitv.com
|
||||||
|
grandmamail.com
|
||||||
|
grandmasmail.com
|
||||||
|
great-host.in
|
||||||
|
greensloth.com
|
||||||
|
grr.la
|
||||||
|
gsrv.co.uk
|
||||||
|
guerillamail.biz
|
||||||
|
guerillamail.com
|
||||||
|
guerillamail.net
|
||||||
|
guerillamail.org
|
||||||
|
guerrillamail.biz
|
||||||
|
guerrillamail.com
|
||||||
|
guerrillamail.de
|
||||||
|
guerrillamail.info
|
||||||
|
guerrillamail.net
|
||||||
|
guerrillamail.org
|
||||||
|
guerrillamailblock.com
|
||||||
|
gustr.com
|
||||||
|
h.mintemail.com
|
||||||
|
h8s.org
|
||||||
|
haltospam.com
|
||||||
|
harakirimail.com
|
||||||
|
hat-geld.de
|
||||||
|
hatespam.org
|
||||||
|
hellodream.mobi
|
||||||
|
herp.in
|
||||||
|
hidemail.de
|
||||||
|
hidzz.com
|
||||||
|
hmamail.com
|
||||||
|
hochsitze.com
|
||||||
|
hopemail.biz
|
||||||
|
hotpop.com
|
||||||
|
hulapla.de
|
||||||
|
ieatspam.eu
|
||||||
|
ieatspam.info
|
||||||
|
ieh-mail.de
|
||||||
|
ihateyoualot.info
|
||||||
|
iheartspam.org
|
||||||
|
ikbenspamvrij.nl
|
||||||
|
imails.info
|
||||||
|
imgof.com
|
||||||
|
inbax.tk
|
||||||
|
inbox.si
|
||||||
|
inboxalias.com
|
||||||
|
inboxclean.com
|
||||||
|
inboxclean.org
|
||||||
|
inboxproxy.com
|
||||||
|
incognitomail.com
|
||||||
|
incognitomail.net
|
||||||
|
incognitomail.org
|
||||||
|
infocom.zp.ua
|
||||||
|
insorg-mail.info
|
||||||
|
instant-mail.de
|
||||||
|
ip6.li
|
||||||
|
ipoo.org
|
||||||
|
irish2me.com
|
||||||
|
iwi.net
|
||||||
|
jetable.com
|
||||||
|
jetable.fr.nf
|
||||||
|
jetable.net
|
||||||
|
jetable.org
|
||||||
|
jnxjn.com
|
||||||
|
jourrapide.com
|
||||||
|
jsrsolutions.com
|
||||||
|
junk1e.com
|
||||||
|
kasmail.com
|
||||||
|
kaspop.com
|
||||||
|
keepmymail.com
|
||||||
|
killmail.com
|
||||||
|
killmail.net
|
||||||
|
kimsdisk.com
|
||||||
|
kingsq.ga
|
||||||
|
kir.ch.tc
|
||||||
|
klassmaster.com
|
||||||
|
klassmaster.net
|
||||||
|
klzlk.com
|
||||||
|
kook.ml
|
||||||
|
koszmail.pl
|
||||||
|
kulturbetrieb.info
|
||||||
|
kurzepost.de
|
||||||
|
lags.us
|
||||||
|
lawlita.com
|
||||||
|
lazyinbox.com
|
||||||
|
letthemeatspam.com
|
||||||
|
lhsdv.com
|
||||||
|
lifebyfood.com
|
||||||
|
link2mail.net
|
||||||
|
litedrop.com
|
||||||
|
login-email.ml
|
||||||
|
lol.ovpn.to
|
||||||
|
lolfreak.net
|
||||||
|
lookugly.com
|
||||||
|
lopl.co.cc
|
||||||
|
lortemail.dk
|
||||||
|
lr78.com
|
||||||
|
lroid.com
|
||||||
|
lukop.dk
|
||||||
|
m21.cc
|
||||||
|
m4ilweb.info
|
||||||
|
maboard.com
|
||||||
|
mail-filter.com
|
||||||
|
mail-temporaire.fr
|
||||||
|
mail.by
|
||||||
|
mail.mezimages.net
|
||||||
|
mail.zp.ua
|
||||||
|
mail1a.de
|
||||||
|
mail21.cc
|
||||||
|
mail2rss.org
|
||||||
|
mail333.com
|
||||||
|
mail4trash.com
|
||||||
|
mailbidon.com
|
||||||
|
mailbiz.biz
|
||||||
|
mailblocks.com
|
||||||
|
mailbucket.org
|
||||||
|
mailcat.biz
|
||||||
|
mailcatch.com
|
||||||
|
mailde.de
|
||||||
|
mailde.info
|
||||||
|
maildrop.cc
|
||||||
|
maileater.com
|
||||||
|
maileimer.de
|
||||||
|
mailexpire.com
|
||||||
|
mailfa.tk
|
||||||
|
mailforspam.com
|
||||||
|
mailfreeonline.com
|
||||||
|
mailguard.me
|
||||||
|
mailimate.com
|
||||||
|
mailin8r.com
|
||||||
|
mailinater.com
|
||||||
|
mailinator.com
|
||||||
|
mailinator.net
|
||||||
|
mailinator.org
|
||||||
|
mailinator2.com
|
||||||
|
mailincubator.com
|
||||||
|
mailismagic.com
|
||||||
|
mailmate.com
|
||||||
|
mailme.ir
|
||||||
|
mailme.lv
|
||||||
|
mailme24.com
|
||||||
|
mailmetrash.com
|
||||||
|
mailmoat.com
|
||||||
|
mailms.com
|
||||||
|
mailnator.com
|
||||||
|
mailnesia.com
|
||||||
|
mailnull.com
|
||||||
|
mailorg.org
|
||||||
|
mailpick.biz
|
||||||
|
mailproxsy.com
|
||||||
|
mailrock.biz
|
||||||
|
mailscrap.com
|
||||||
|
mailshell.com
|
||||||
|
mailsiphon.com
|
||||||
|
mailslite.com
|
||||||
|
mailtemp.info
|
||||||
|
mailtome.de
|
||||||
|
mailtothis.com
|
||||||
|
mailtrash.net
|
||||||
|
mailtv.net
|
||||||
|
mailtv.tv
|
||||||
|
mailzilla.com
|
||||||
|
mailzilla.org
|
||||||
|
mailzilla.orgmbx.cc
|
||||||
|
makemetheking.com
|
||||||
|
manybrain.com
|
||||||
|
mbx.cc
|
||||||
|
mega.zik.dj
|
||||||
|
meinspamschutz.de
|
||||||
|
meltmail.com
|
||||||
|
messagebeamer.de
|
||||||
|
mezimages.net
|
||||||
|
mierdamail.com
|
||||||
|
ministry-of-silly-walks.de
|
||||||
|
mintemail.com
|
||||||
|
misterpinball.de
|
||||||
|
moakt.com
|
||||||
|
moburl.com
|
||||||
|
moncourrier.fr.nf
|
||||||
|
monemail.fr.nf
|
||||||
|
monmail.fr.nf
|
||||||
|
monumentmail.com
|
||||||
|
msa.minsmail.com
|
||||||
|
mt2009.com
|
||||||
|
mt2014.com
|
||||||
|
mx0.wwwnew.eu
|
||||||
|
my10minutemail.com
|
||||||
|
mycard.net.ua
|
||||||
|
mycleaninbox.net
|
||||||
|
mymail-in.net
|
||||||
|
mymailoasis.com
|
||||||
|
mypacks.net
|
||||||
|
mypartyclip.de
|
||||||
|
myphantomemail.com
|
||||||
|
mysamp.de
|
||||||
|
myspaceinc.com
|
||||||
|
myspaceinc.net
|
||||||
|
myspaceinc.org
|
||||||
|
myspacepimpedup.com
|
||||||
|
myspamless.com
|
||||||
|
mytempemail.com
|
||||||
|
mytempmail.com
|
||||||
|
mytrashmail.com
|
||||||
|
nabuma.com
|
||||||
|
neomailbox.com
|
||||||
|
nepwk.com
|
||||||
|
nervmich.net
|
||||||
|
nervtmich.net
|
||||||
|
netmails.com
|
||||||
|
netmails.net
|
||||||
|
netzidiot.de
|
||||||
|
neverbox.com
|
||||||
|
nice-4u.com
|
||||||
|
nincsmail.hu
|
||||||
|
nnh.com
|
||||||
|
no-spam.ws
|
||||||
|
noblepioneer.com
|
||||||
|
nobulk.com
|
||||||
|
noclickemail.com
|
||||||
|
nogmailspam.info
|
||||||
|
nomail.pw
|
||||||
|
nomail.xl.cx
|
||||||
|
nomail2me.com
|
||||||
|
nomorespamemails.com
|
||||||
|
nospam.ze.tc
|
||||||
|
nospam4.us
|
||||||
|
nospamfor.us
|
||||||
|
nospammail.net
|
||||||
|
nospamthanks.info
|
||||||
|
notmailinator.com
|
||||||
|
notsharingmy.info
|
||||||
|
nowhere.org
|
||||||
|
nowmymail.com
|
||||||
|
nurfuerspam.de
|
||||||
|
nus.edu.sg
|
||||||
|
nwldx.com
|
||||||
|
objectmail.com
|
||||||
|
obobbo.com
|
||||||
|
odnorazovoe.ru
|
||||||
|
one-time.email
|
||||||
|
oneoffemail.com
|
||||||
|
onewaymail.com
|
||||||
|
onlatedotcom.info
|
||||||
|
online.ms
|
||||||
|
oopi.org
|
||||||
|
opayq.com
|
||||||
|
ordinaryamerican.net
|
||||||
|
otherinbox.com
|
||||||
|
ourklips.com
|
||||||
|
outlawspam.com
|
||||||
|
ovpn.to
|
||||||
|
owlpic.com
|
||||||
|
pancakemail.com
|
||||||
|
paplease.com
|
||||||
|
pcusers.otherinbox.com
|
||||||
|
pimpedupmyspace.com
|
||||||
|
pjjkp.com
|
||||||
|
plexolan.de
|
||||||
|
poczta.onet.pl
|
||||||
|
politikerclub.de
|
||||||
|
poofy.org
|
||||||
|
pookmail.com
|
||||||
|
privacy.net
|
||||||
|
privatdemail.net
|
||||||
|
proxymail.eu
|
||||||
|
prtnx.com
|
||||||
|
punkass.com
|
||||||
|
putthisinyourspamdatabase.com
|
||||||
|
pwrby.com
|
||||||
|
qq.com
|
||||||
|
quickinbox.com
|
||||||
|
quickmail.nl
|
||||||
|
rcpt.at
|
||||||
|
reallymymail.com
|
||||||
|
realtyalerts.ca
|
||||||
|
recode.me
|
||||||
|
recursor.net
|
||||||
|
regbypass.com
|
||||||
|
regbypass.comsafe-mail.net
|
||||||
|
rejectmail.com
|
||||||
|
reliable-mail.com
|
||||||
|
rhyta.com
|
||||||
|
rklips.com
|
||||||
|
rmqkr.net
|
||||||
|
royal.net
|
||||||
|
rppkn.com
|
||||||
|
rtrtr.com
|
||||||
|
s0ny.net
|
||||||
|
safe-mail.net
|
||||||
|
safersignup.de
|
||||||
|
safetymail.info
|
||||||
|
safetypost.de
|
||||||
|
sandelf.de
|
||||||
|
saynotospams.com
|
||||||
|
schafmail.de
|
||||||
|
schrott-email.de
|
||||||
|
secretemail.de
|
||||||
|
secure-mail.biz
|
||||||
|
selfdestructingmail.com
|
||||||
|
sendspamhere.com
|
||||||
|
senseless-entertainment.com
|
||||||
|
services391.com
|
||||||
|
sharedmailbox.org
|
||||||
|
sharklasers.com
|
||||||
|
shieldemail.com
|
||||||
|
shiftmail.com
|
||||||
|
shitmail.me
|
||||||
|
shitware.nl
|
||||||
|
shmeriously.com
|
||||||
|
shortmail.net
|
||||||
|
sibmail.com
|
||||||
|
sinnlos-mail.de
|
||||||
|
skeefmail.com
|
||||||
|
slapsfromlastnight.com
|
||||||
|
slaskpost.se
|
||||||
|
slopsbox.com
|
||||||
|
smashmail.de
|
||||||
|
smellfear.com
|
||||||
|
smellrear.com
|
||||||
|
snakemail.com
|
||||||
|
sneakemail.com
|
||||||
|
sneakmail.de
|
||||||
|
snkmail.com
|
||||||
|
sofimail.com
|
||||||
|
sofort-mail.de
|
||||||
|
softpls.asia
|
||||||
|
sogetthis.com
|
||||||
|
solvemail.info
|
||||||
|
soodonims.com
|
||||||
|
spam.la
|
||||||
|
spam.su
|
||||||
|
spam4.me
|
||||||
|
spamail.de
|
||||||
|
spamarrest.com
|
||||||
|
spamavert.com
|
||||||
|
spambob.com
|
||||||
|
spambob.net
|
||||||
|
spambob.org
|
||||||
|
spambog.com
|
||||||
|
spambog.de
|
||||||
|
spambog.net
|
||||||
|
spambog.ru
|
||||||
|
spambox.info
|
||||||
|
spambox.irishspringrealty.com
|
||||||
|
spambox.us
|
||||||
|
spamcannon.com
|
||||||
|
spamcannon.net
|
||||||
|
spamcero.com
|
||||||
|
spamcon.org
|
||||||
|
spamcorptastic.com
|
||||||
|
spamcowboy.com
|
||||||
|
spamcowboy.net
|
||||||
|
spamcowboy.org
|
||||||
|
spamday.com
|
||||||
|
spamex.com
|
||||||
|
spamfree.eu
|
||||||
|
spamfree24.com
|
||||||
|
spamfree24.de
|
||||||
|
spamfree24.eu
|
||||||
|
spamfree24.info
|
||||||
|
spamfree24.net
|
||||||
|
spamfree24.org
|
||||||
|
spamgoes.in
|
||||||
|
spamgourmet.com
|
||||||
|
spamgourmet.net
|
||||||
|
spamgourmet.org
|
||||||
|
spamherelots.com
|
||||||
|
spamhereplease.com
|
||||||
|
spamhole.com
|
||||||
|
spamify.com
|
||||||
|
spaminator.de
|
||||||
|
spamkill.info
|
||||||
|
spaml.com
|
||||||
|
spaml.de
|
||||||
|
spammotel.com
|
||||||
|
spamobox.com
|
||||||
|
spamoff.de
|
||||||
|
spamslicer.com
|
||||||
|
spamspot.com
|
||||||
|
spamthis.co.uk
|
||||||
|
spamthisplease.com
|
||||||
|
spamtrail.com
|
||||||
|
spamtroll.net
|
||||||
|
speed.1s.fr
|
||||||
|
spikio.com
|
||||||
|
spoofmail.de
|
||||||
|
squizzy.de
|
||||||
|
ssoia.com
|
||||||
|
startkeys.com
|
||||||
|
stuffmail.de
|
||||||
|
super-auswahl.de
|
||||||
|
supergreatmail.com
|
||||||
|
supermailer.jp
|
||||||
|
superrito.com
|
||||||
|
superstachel.de
|
||||||
|
suremail.info
|
||||||
|
tagyourself.com
|
||||||
|
talkinator.com
|
||||||
|
teewars.org
|
||||||
|
teleworm.com
|
||||||
|
teleworm.us
|
||||||
|
temp-mail.org
|
||||||
|
temp-mail.ru
|
||||||
|
temp.headstrong.de
|
||||||
|
tempalias.com
|
||||||
|
tempe-mail.com
|
||||||
|
tempemail.biz
|
||||||
|
tempemail.co.za
|
||||||
|
tempemail.com
|
||||||
|
tempemail.net
|
||||||
|
tempinbox.co.uk
|
||||||
|
tempinbox.com
|
||||||
|
tempmail.eu
|
||||||
|
tempmail.it
|
||||||
|
tempmail2.com
|
||||||
|
tempmaildemo.com
|
||||||
|
tempmailer.com
|
||||||
|
tempmailer.de
|
||||||
|
tempomail.fr
|
||||||
|
temporarily.de
|
||||||
|
temporarioemail.com.br
|
||||||
|
temporaryemail.net
|
||||||
|
temporaryforwarding.com
|
||||||
|
temporaryinbox.com
|
||||||
|
temporarymailaddress.com
|
||||||
|
tempthe.net
|
||||||
|
thanksnospam.info
|
||||||
|
thankyou2010.com
|
||||||
|
thc.st
|
||||||
|
thecloudindex.com
|
||||||
|
thelimestones.com
|
||||||
|
thisisnotmyrealemail.com
|
||||||
|
thismail.net
|
||||||
|
throwawayemailaddress.com
|
||||||
|
tilien.com
|
||||||
|
tittbit.in
|
||||||
|
tizi.com
|
||||||
|
tmailinator.com
|
||||||
|
toiea.com
|
||||||
|
toomail.biz
|
||||||
|
topranklist.de
|
||||||
|
tradermail.info
|
||||||
|
trash-amil.com
|
||||||
|
trash-mail.at
|
||||||
|
trash-mail.com
|
||||||
|
trash-mail.de
|
||||||
|
trash2009.com
|
||||||
|
trashdevil.com
|
||||||
|
trashemail.de
|
||||||
|
trashmail.at
|
||||||
|
trashmail.com
|
||||||
|
trashmail.de
|
||||||
|
trashmail.me
|
||||||
|
trashmail.net
|
||||||
|
trashmail.org
|
||||||
|
trashmail.ws
|
||||||
|
trashmailer.com
|
||||||
|
trashymail.com
|
||||||
|
trashymail.net
|
||||||
|
trbvm.com
|
||||||
|
trialmail.de
|
||||||
|
trillianpro.com
|
||||||
|
tryalert.com
|
||||||
|
turual.com
|
||||||
|
twinmail.de
|
||||||
|
twoweirdtricks.com
|
||||||
|
tyldd.com
|
||||||
|
uggsrock.com
|
||||||
|
umail.net
|
||||||
|
upliftnow.com
|
||||||
|
uplipht.com
|
||||||
|
uroid.com
|
||||||
|
us.af
|
||||||
|
username.e4ward.com
|
||||||
|
venompen.com
|
||||||
|
veryrealemail.com
|
||||||
|
viditag.com
|
||||||
|
viewcastmedia.com
|
||||||
|
viewcastmedia.net
|
||||||
|
viewcastmedia.org
|
||||||
|
viralplays.com
|
||||||
|
vomoto.com
|
||||||
|
vpn.st
|
||||||
|
vsimcard.com
|
||||||
|
vubby.com
|
||||||
|
wasteland.rfc822.org
|
||||||
|
webemail.me
|
||||||
|
webm4il.info
|
||||||
|
wee.my
|
||||||
|
weg-werf-email.de
|
||||||
|
wegwerf-emails.de
|
||||||
|
wegwerfadresse.de
|
||||||
|
wegwerfemail.com
|
||||||
|
wegwerfemail.de
|
||||||
|
wegwerfmail.de
|
||||||
|
wegwerfmail.info
|
||||||
|
wegwerfmail.net
|
||||||
|
wegwerfmail.org
|
||||||
|
wetrainbayarea.com
|
||||||
|
wetrainbayarea.org
|
||||||
|
wh4f.org
|
||||||
|
whatpaas.com
|
||||||
|
whtjddn.33mail.com
|
||||||
|
whyspam.me
|
||||||
|
willhackforfood.biz
|
||||||
|
willselfdestruct.com
|
||||||
|
winemaven.info
|
||||||
|
wronghead.com
|
||||||
|
wuzup.net
|
||||||
|
wuzupmail.net
|
||||||
|
www.e4ward.com
|
||||||
|
www.gishpuppy.com
|
||||||
|
www.mailinator.com
|
||||||
|
wwwnew.eu
|
||||||
|
x.ip6.li
|
||||||
|
xagloo.com
|
||||||
|
xemaps.com
|
||||||
|
xents.com
|
||||||
|
xmaily.com
|
||||||
|
xoxy.net
|
||||||
|
yep.it
|
||||||
|
yogamaven.com
|
||||||
|
yopmail.com
|
||||||
|
yopmail.fr
|
||||||
|
yopmail.net
|
||||||
|
yourdomain.com
|
||||||
|
ypmail.webarnak.fr.eu.org
|
||||||
|
yuurok.com
|
||||||
|
z1p.biz
|
||||||
|
za.com
|
||||||
|
zehnminuten.de
|
||||||
|
zehnminutenmail.de
|
||||||
|
zippymail.info
|
||||||
|
zoaxe.com
|
||||||
|
zoemail.net
|
||||||
|
zoemail.org
|
||||||
|
zomg.info
|
||||||
|
zxcv.com
|
||||||
|
zxcvbnm.com
|
||||||
|
zzz.com
|
4470
data/free.txt
Normal file
4470
data/free.txt
Normal file
File diff suppressed because it is too large
Load Diff
11
data/sources.txt
Normal file
11
data/sources.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
https://gist.githubusercontent.com/tbrianjones/5992856/raw/bede1836eac8102bb7d7f966ef7e690d58ce5252/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/nikhilben/d4797617901c20dbc5de/raw/96183d95a805ee9b138bb043c92f859e6428d091/List%20of%20free%20email%20domains
|
||||||
|
https://gist.githubusercontent.com/com4/ff0711c7f49bd792950a/raw/1302abaf2c01854980cf8d64c672c568c92cbc81/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/hadees/3cc0e2cf97d06e0b8ebb/raw/40c7dcad6e8b819c89f89dcd78bb62ab709d5e53/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/agarstang/0d87cae417f25a0b90f3/raw/07ed191d57a161699ba921178bd4712429ec91e0/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/cyriac/f89634a28f4d441719d8/raw/43545188d525cd1581ecbd50adf0a1ac32a1feb2/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/rasmussvanejensen/3a361d113864ef35eafb/raw/e6fcc062d62c005163820bb02a5c7315ad7a43a6/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/cnsaturn/9919758/raw/1229d5d72a8c1b3c893129c67b3826b8f1e34040/3rd_party_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/Artistan/9662757/raw/896006657dfea1207a1ecbe7ee8b339b26550ee1/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/jpadilla/8459489/raw/e6fcc062d62c005163820bb02a5c7315ad7a43a6/free_email_provider_domains.txt
|
||||||
|
https://gist.githubusercontent.com/defeated/6500068/raw/01733a71051bce3db6eccc736f256d40d7ec63b8/free_email_provider_domains.txt'
|
24
index.js
Normal file
24
index.js
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
var fs = require('fs');
|
||||||
|
var tldjs = require('tldjs');
|
||||||
|
|
||||||
|
var disposable = fs.readFileSync(__dirname + '/data/disposable.txt').toString().split('\n');
|
||||||
|
var free = fs.readFileSync(__dirname + '/data/free.txt').toString().split('\n').concat(disposable);
|
||||||
|
|
||||||
|
function isFree(email) {
|
||||||
|
if (typeof email !== 'string') throw new TypeError('email must be a string');
|
||||||
|
console.log(email);
|
||||||
|
var domain = tldjs.getDomain(email.split('@').pop());
|
||||||
|
console.log(domain, free.indexOf(domain));
|
||||||
|
return free.indexOf(domain) !== -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function isDisposable(email) {
|
||||||
|
if (typeof email !== 'string') throw new TypeError('email must be a string');
|
||||||
|
var domain = tldjs.getDomain(email.split('@').pop());
|
||||||
|
return disposable.indexOf(domain) !== -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
isFree: isFree,
|
||||||
|
isDisposible: isDisposable
|
||||||
|
};
|
17
package.json
Normal file
17
package.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "freemail",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "A database of free and disposable email domains and a handy Node.js module for querying it.",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "tape test/test.js"
|
||||||
|
},
|
||||||
|
"author": "Will White <will@mapbox.com>",
|
||||||
|
"license": "ISC",
|
||||||
|
"devDependencies": {
|
||||||
|
"tape": "^3.5.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tldjs": "^1.5.2"
|
||||||
|
}
|
||||||
|
}
|
32
test/test.js
Normal file
32
test/test.js
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
var test = require('tape');
|
||||||
|
var freemail = require('..');
|
||||||
|
|
||||||
|
test('gmail.com should be free', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isFree('smith@gmail.com'), true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('gmail.com should be free with domain only', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isFree('gmail.com'), true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('fb.com should not be free', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isFree('fb.com'), false);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('mailinater.com should be free', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isFree('smith@mailinater.com'), true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('mailinater.com should be disposible', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isDisposible('smith@mailinater.com'), true);
|
||||||
|
});
|
||||||
|
|
||||||
|
test('gmail.com should not be disposible', function(t) {
|
||||||
|
t.plan(1);
|
||||||
|
t.equal(freemail.isDisposible('smith@gmail.com'), false);
|
||||||
|
});
|
18
update
Executable file
18
update
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
sources=$(cat ./data/sources.txt)
|
||||||
|
|
||||||
|
for source in $sources; do
|
||||||
|
curl --silent $source >> tmp
|
||||||
|
done;
|
||||||
|
|
||||||
|
sort tmp \
|
||||||
|
| uniq \
|
||||||
|
| sed '/./,$!d' \
|
||||||
|
| awk '{print tolower($0)}' \
|
||||||
|
| comm -23 - ./data/blacklist.txt \
|
||||||
|
| comm -23 - ./data/disposable.txt > ./data/free.txt
|
||||||
|
|
||||||
|
echo 'Complete!'
|
Loading…
x
Reference in New Issue
Block a user