ComputersNetworks

SMTP server for distribution. How to configure an SMTP server

Every user who works with mail applications, one way or another, is confronted with setting up the parameters of incoming and outgoing correspondence. One of the main elements is the configuration of the SMTP server. Consider what it is and how to make the necessary settings for different situations.

What is SMTP?

The reduction of SMTP comes from the English word combination Simple Mail Transfer Protocol, which in translation means "simple mail sending protocol". In general, the scope of its application is limited to TCP / IP-based networks and user-level.

In any e-mail program, often called an email client , there are special settings that allow you to configure the protocol parameters. It is through it that all emails are sent to the mail server, where they expect retransmission. Initially, the SMTP server uses the TCP port number 25. However, with the development of e-mail services, the settings can vary significantly.

Do I need to configure the server when sending a letter from a mail service?

As a rule, any postal service on the Internet, which offers users services for sending and receiving e-mail, is already equipped with a pre-configured SMTP server. That is, the user does not need to produce anything.

The very services to enter your own mailbox require the user only to enter the login and password specified during registration and configure, for example, the Mail.Ru SMTP server is not required for the simple reason that in the service itself all this was done initially (Without this, the service simply would not work). But what if the user does not use the Internet resources for some reason, but prefers standard clients such as Microsoft Outlook Express and Outlook or third-party software products, while having the registered box in the Internet service?

We configure the SMTP server (Mail.Ru - mail service where the mailbox is registered)

Let's look at the standard parameters that should be applied to this service. Regardless of the email client used, absolutely all settings will be identical.

So, in order to correctly configure the Mail.Ru SMTP server, you need to set the following parameters:

  • Outgoing mail server - smtp.mail.ru;
  • User name - the full name of the e-mail address registered in the service;
  • Password - the current code combination of letters, numbers and symbols used to enter the box;
  • Port when choosing the SSL / TLS encryption protocol - 465.

After these settings come into effect, you can receive mail directly in the user program you are using. As you can see, the SMTP server port differs from the standard one (25), but it is already connected with TCP / IP protocols.

Configuring the SMTP server on Yandex

No less popular is the service Yandex.Ru. The SMTP server for it is configured in the same way.

However, for the outgoing server, the address is smtp.yandex.ru, port is set to 465, but the security settings are set exclusively by TLS.

Installing the SMTP server for distribution

Now let's move on to more complex situations, when a user needs to mass mail for any reasons (for example, to promote his own business or site). Doing this manually using online services or mail clients does not make sense at least for the reason that it takes too much time and effort. Therefore, you can do it in two ways: buy an already configured SMTP server or customize it yourself.

In the first case, if a "white" server is purchased, this will require significant costs, as well as compliance with all terms of the developer or seller. You can, of course, buy a "gray" server, but there is no guarantee that it will not be included in the search engine spam database. It is only fraught with the fact that the same Yandex when receiving letters from these sources will simply filter them and send them to the spam section, and Mail.Ru and Google mark the correspondence with the corresponding "spam" index. Setting up the SMTP server manually looks more reliable, and more economical in terms of financial costs.

First you need to buy a VPS server with Centos operating system version no lower than the sixth. Just note whether there is a possibility of entering a PTR record that will accurately identify the canonical domain name of the receiving server.

Next, you need to install the Vesta panel. As an example, use the PuTTY utility, which you need to download, install and run. In the settings we immediately register the IP-address of the server, then click the Open button and register the root login and the password provided when buying the VPS-server.

Now successively enter the following commands:

Curl -O http://vestacp.com/pub/vst-install.sh

Bash vst-install.sh

If an error occurs, solve it using a combination of:

Bash vst-install-rhel.sh -force

After that, enter the valid e-mail address and host name. After 5-10 minutes the panel will be installed.

Next, in the browser, we use the address bar, where we write this:

Https: // Server IP: 8083

A window appears where you need to enter the root user name and the provided password.

In the next step, we register the domain and go to the DNS settings panel, where we change the MX and A. records.

We wait until the DNS zones update, and go to the WEB tab in the Vesta panel, where we add the registered domain.

After that, we register SMTP accounts in the Mail section. To check in the same section, use the Open Webmail tab. In the appeared window of the EXIM-server, enter the parameters of the created SMTP and send a test letter. If everything is fine, you can congratulate yourself.

Please note that in some cases, a digital signature may be required for mass mailings (not to be confused with a PTR record that is only responsible for the authenticity of the domain or host). In its absence, some receiving services may be unreliable to the mailing, and incoming mail will be marked as doubtful. So you need to take care of this in advance.

Instead of an afterword

It remains to add that setting up an SMTP server for e-mail clients is not so difficult as it might seem at first. But here for mass mailings over tuning it is necessary, that is called, to sweat. And you can use not only the version that was presented above. Some developers already today offer automated systems for creating and configuring such servers for a very modest fee (and even for free).

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.atomiyme.com. Theme powered by WordPress.