
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:
- Yuri Ivanovich, director of a small dance studio, has a site “next door” to you (read, on the same server). At one point, Yuri Ivanovich learns about the wonderful prospects of email marketing and sends out a pack of twenty thousand letters with the same type of advertising of his studio.
- Or, Vasya Popov, who does not use an antivirus, but who loves old versions of Total Comander, updates his homepage via FTP. At one point, a previously sleeping Trojan, steals passwords to FTP Vasin (which are unprotected in the Total Comander folder). The next day, Vasina's homepage is already sending out a ten thousandth offer to buy Viagra.
- Or, Petya Tverdokhlebov, who has a site on Drupal version 5.0 nearby and thinks that this update is “from the evil one”, on another sunny day, catches XSS vulnerability and starts, without knowing it, sending advertising to potential buyers of penis-enlargment pills.
')
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:
- SMTP server address
- Port
- E-mail from which will be carried out
- (optional) login and password for SMTP authentication
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.