reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.34k stars 342 forks source link

Which conditions return "connection refused"? #48

Open shinebayar-g opened 5 years ago

shinebayar-g commented 5 years ago

Just tried the binary on my home computer, it returned BlockedByIsp response. So I thought okay my ISP is blocked it. Then I run it on my digitalocean vps same email address returned true which is correct & nice. But some email addresses still returning BlockedByIsp response. Which conditions trigger these response?

For example: hello@yahoo.com returns BlockedByIsp while hello@gmail.com returns false. It would be nice to mention these conditions in FAQ and also mention which ports are used. (outbound, inbound if any)

amaury1093 commented 5 years ago

Which conditions trigger these response?

To be honest, I don't know the exact conditions. On the Amazon Lambda serverless deployment, the same email most of the times return the correct checks, but once in a while I get a BlockedByIsp, for the same email.

It would be good to add a small note in the FAQ. Would you like to take care of it?

shinebayar-g commented 5 years ago

Sure, but there are some questions.

Just noticed I was banned when trying to check my email address which is hosted on outlook service. What should I do prevent this behaviour? Using --from flag helps?

Read: 550 5.7.606 Access denied, banned sending IP [178.128.88.52]. To request removal from this list please visit https://sender.office.com/ and follow the directions. For more information please go to  http://go.microsoft.com/fwlink/?LinkID=526655 (AS16012609) [BN3NAM01FT030.eop-nam01.prod.protection.outlook.com]<CRLF>
[2019-09-02T15:23:17Z DEBUG lettre::smtp::client] Wrote: QUIT<CRLF>
[2019-09-02T15:23:17Z DEBUG lettre::smtp::client] Read: 221 2.0.0 Service closing transmission channel<CRLF>a
amaury1093 commented 5 years ago

Well, as said in the message, you're making too many requests on outlook.com servers, so they banned you.

The only way I see is to change IP address.

shinebayar-g commented 5 years ago

If you say 3 is too much, alright. :worried: I did some research on this topic. (not getting blacklisted so easily) Most of similar tools doesn't really care or handle this case. But I assume without knowing the proper use of email verification practice, one shouldn't use such tools beforehand. (For example: me..) For future readers: Please comment what you know about email verification process best practices or what you got blacklisted (that would be useful to know too).

amaury1093 commented 4 years ago

Please note that the BlockedByISP error has been removed (see changelog entry), it now shows the default SMTP error (often: "connection refused")