📜 ⬆️ ⬇️

SMTP relay or what to do if your server is in the blacklist email



If suddenly innocent emails from your site started to get into the spam-box of mailers, it could mean that your server’s IP got in the blacklist email. The probability of this increases if you do not have your own server. The approximate scenario of falling into the blacklist is as follows:



')
In all cases, these letters go through a lot of gateways, which, seeing a large flow of identical letters from a neutral IP, put this IP on the blacklist “before finding out”. Mail services like Gmail and Yahoo use the data of these blacklists to work with their anti-spam, so at best emails from your site will end up in a spam folder.

Therefore, when you receive the tenth letter from the users of the site that the password recovery does not work, or the sales letter has not arrived, you should check your presence in the blacklist .

If you find yourself there, you have two choices - either to change the IP / server / hosting, or to accept, because on the shared or even on vps-e, this is fate. If this happens to your own server, first kill the very cause of spam, and then go through the blacklists, and manually remove yourself from there. They say that it helps. If you do not believe fairy tales, just change the IP address of the server, now it is not so expensive.

In any case, as a temporary solution, you can use someone else's SMTP server to send letters to the site.

Using someone else's SMTP server with Drupal



For starters, you need to find this very server. If you already have it, fine. If not, you can buy yourself access, the benefit of the proposals now enough. Recently, one of these services has been very useful to me - smtp2go . For a symbolic 30 bucks, within 15 minutes you will send mail without any barriers.

For correct sending of mail you will need the following data:


To fasten it all to Drupal, you will need to use the SMTP Authentication Support module. When installing, be sure to read the README.TXT, the module needs a third-party library, which will have to be downloaded.

A module is a form in which you must enter all of the above.


Everything else he does automatic.

Source: https://habr.com/ru/post/59018/


All Articles