email-validator-js icon indicating copy to clipboard operation
email-validator-js copied to clipboard

SMTP rejected because of ban by Spamhaus

Open tpimh opened this issue 3 years ago • 4 comments

I tried validating a number of email addresses using this library, and everything was fine at first, but after some time I started getting validSmtp: null and debug showed the following types of messages:

Mailbox: got data 550 5.7.1 Service unavailable, Client host [xx.xx.xx.xx] blocked using Spamhaus. To request removal from this list see ... (outlook)
Mailbox: got data 550 5.7.1 Mail from IP xx.xx.xx.xx was rejected due to listing in Spamhaus SBL. For details please see ... (icloud)

Is there a good way to prevent getting into Spamhaus blacklist while using this library?

tpimh avatar Oct 04 '22 07:10 tpimh

Actually, this action is like the package. There is no other way bypass spam block list unless you build your own mail server with it's own ip.

angle319 avatar Aug 20 '24 08:08 angle319

Thanks for your reply. In fact I have built my own mail server with a dedicated IP, and the problem was that this IP was constantly added to the blacklist when using this library. I don't know if there's any good email validation method that doesn't make such request that are detected by Spamhaus as malicious.

tpimh avatar Aug 20 '24 10:08 tpimh