How to configure Yandex.Mail in the hosting control panel? MX record - Product name. Document title


Mail for a domain on Yandex allows you to create up to one thousand mailboxes for free, the following type: word@your_domain.ru, where instead of “word” - sasha, admin, etc. Except nice address with a domain name for website owners, the service will certainly be of interest to companies and organizations. Its analogue is Google Apps, since the end of 2012, it has become paid, except for educational and some other institutions.

Presented here visual instructions By DNS change and MX records in your hosting cPanel, which is not included in the Yandex help. By the way, there are similar instructions for a number of well-known hosting companies. Mail for a Yandex domain provides a large volume of mailboxes that does not require a paid fee disk space on your hosting. For companies and organizations, it allows you to organize internal mail. It’s easy to start it, go to pdd.yandex.ru:

The first step is to confirm that the domain belongs to you. The easiest option is to place the proposed file on your website. Check and take away from you longest time- several hours, and the verification time is indicated. Next you need to change the MX records on your hosting (more on this below). The last step is to set a name for mailbox:

After we have connected the domain, mail starts working immediately. And we can add additional boxes:

And instructions for changing MX records in cPanel

Change the email routing as shown in the screenshot:

Now pay attention to the data that Yandex recommends entering to change the MX record (dot at the end of the address). They are valid for other cases:

And to change MX records in cPanel, just add the following:

Now attention: you need to delete the unnecessary ones - the remaining MX records. All that should remain is the following entry:

You can limit yourself to this and use the new mail. But you can also change the entries: CHAME - will allow you to access your mail in Yandex at a shorter address: mail.your_domain.ru; TXT (SPF) - reduces the number of messages sent from your email that fall under antispam filters. For those interested, read on.

DNS zone records: CHAME, TXT (SPF)

Go to another cPanel section: Domains - Advanced DNS Zone Editor:

We see a whole list of records, of which we are interested in the marked ones:

You will, of course, have records with your domain. We do not touch the remaining entries under any circumstances, but we edit the necessary ones or create them if they do not exist. Click on “Edit” in the line the desired entry, the following form opens. We make changes as in the screenshot. Don’t forget that the first field will contain “mail.your_domain.ru.” (with a dot at the end), and in the last one as it is “domain.mail.yandex.net”:

We do the same with the TXT record. Only the screenshot shows the add entry form located above the list of entries. In case these records were not there. The adding form is similar to the editing form. Don’t forget that in the first field “your_domain.ru.” (with a dot at the end), and in the last one this is “v=spf1 redirect=_spf.yandex.ru”:

This is all. Read about high-quality and inexpensive hosting, with PHP support and unlimited traffic— there are all options. Changes to records and screenshots were made on this hosting.

Yandex Mail provides one very useful and, most importantly, free service corporate mail, at which you can connect your domain to Yandex and use mail with the name of your domain and content from Yandex. And this is really convenient, and you can transfer not the entire domain, but only the mail part ( Mail server MX records). That is, the site will work as before, and mail will be transferred to Yandex Mail. And it is this procedure that I will describe in this note.

Since I have it at hand ISPmanager, then I will do this with an emphasis on this hosting management system with all the nuances that will arise while working with the “IP Manager”.

Domain confirmation for Yandex Mail

The first step to mail with the shell of your domain and Yandex filling is to confirm the domain (in my case, when I have a different hosting and other purposes for the site itself).

Nothing complicated here: create a file in the root of the site with the desired name and the required content and that’s it - the verification is passed, the site is confirmed.

Configuring MX DNS records in ISPmanager (for Yandex.Mail)

But this step is more difficult and requires careful study, since it determines how well and smoothly your mail on Yandex will work and whether it will work at all.

1) Remove the domain from the "E-mail" -> "Mail Domains" section (since ISPmanager most likely registers some data in the DNS there and if this is not done, then some letters will not reach the Yandex mail).

2) Now you need add MX records in your site's DNS. You can do this in the “Main” -> “Domain Names” section and double-click on the domain with the left button and you will see a list of DNS records for the domain. Our task is to remove old MXs and add new ones, and you can do it like this:

a) Delete all entries with type MX (mail server) And TXT (text entry).
b) Add a Yandex mail server:

Name: YOUR.DOMAIN. Type: MX (mail server) Address: mx.yandex.ru. Priority: 10


Don't forget about the period after the domain, it is required.
V) Redirect an SPF record by adding another record:

Name: YOUR.DOMAIN. Type: TXT (text record) Address: v=spf1 redirect=_spf.yandex.ru


This is necessary so that “good” letters do not end up in spam.

You should end up with something like this ( True, the domain here is filled with example.test and the addition of both entries is shown in the picture at the same time in order to combine everything in one image, but the essence is the same):


After saving and a couple of clicks in the Yandex panel, the mail will work as it should. And one more nuance: DNS is not updated instantly, so I advise you to wait 10-30 minutes before visiting the Yandex panel.

By the way, this information about setting up Yandex Mail in ISPmanager was provided by one of the main developers of ISP System with the nickname ls and thanks to him for the picture.

Good luck with your email and less spam! =)
Questions, amendments, etc. I'll be glad to see you in the comments.

Hello, dear readers of the blog site. Knowing and using all the capabilities that the hoster provides us can often save not only time, but also money.

You probably already know that if you wish, you can create mailboxes on your hosting with addresses ending with the domain name of your site, for example, admin@site. Sound familiar? This is called domain mail. But there’s just a problem - when you change hosting, you lose your mailbox, and in most cases you won’t succeed (Yandex, however, is an exception).

A very interesting tool called Google Apps can provide a way out of this situation (new services from this giant continue to appear, and the latest was). Well, let’s also look at setting up the cPanel hosting control panel, where we will configure in the right way mx records.

Advantages of Google Apps when working with domain mail

The word is very scary, but if you do everything according to the instructions given below, then you probably won’t have any problems and as a result you will receive a mailbox for your domain like “admin@site”, which you can work with in every detail.

Today we will take a closer look at working with email accounts, which you can create using cPanel tools and the Google Apps service.

Why might you need a mailbox with a domain name at the end if you already have a well-functioning analogue on some free service? It's all about the ending here. For example, on the hosting of my blog, I can easily create a series of boxes ending like this:

@website

For example:

Admin@site

Do you need this? If necessary, then read on. For those who believe that it is not worth trading the convenience of a good free service, for example, Gmail, for an incomprehensible interface mail programs available on the hosting, I will say that this is not a problem, because with simple manipulations you can create and work with an Email like this on the same Gmail:

Admin@site

A convenient and, unfortunately, already paid service Google Apps. In this case, there will be no need to create a mailbox on your hosting at all; all correspondence addressed to the domain will go directly through Gmail.

In this case, in the cPanel settings you will need to make only one adjustment (change mx records), instructing you to use for storing mail Gmail service. So there are no real arguments against creating an E-mail with the ending in the form of a domain name you are unlikely to find it. Besides money, of course.

Your domain mail on Gmail will have a number of advantages:

  1. You can use the Gmail interface you are familiar with
  2. Incoming mail will go through the Gmail spam cutter, which is rightfully considered one of the best and, therefore, there will be a minimum of spam in your mailbox
  3. very large mailboxes (from 7 gigabytes), while domain mail stored on your hosting will eat up space from your website files
  4. the availability and reliability of storing emails in Gmail is an order of magnitude higher than that of any hoster

Settings in Google Apps for creating a mailbox

We'll talk about cPanel settings at the end of the article. Well, now let's move on to looking at Google Apps, which is necessary for creating and working with personalized mailboxes:

[email protected]

First, we will need to create our account in the service Google Apps(doesn't seem to work). On the page that opens, you need to check the “Administrator” box and enter in the provided field Domain name your site, and then click the “Get Started” button:

On the next page you need to fill in all the required fields and click the “Next” button. Now you will be asked to create your administrator account in Google Apps, or simply put, come up with a name for your mailbox, the address of which will end with the domain name of your site, which you entered in the first step of registration:

Confirmation of domain name ownership rights

To complete creating your account, click on the “I Accept” button. Continue setup” located at the bottom of the page. After a moment of thoughtfulness, a page with your profile in Google Apps will open. But that's not all - you will need to confirm your rights to own this domain name.

As a result, a page will open where you can choose one of two confirmation methods. I think that the most in a simple way there will be confirmation by uploading to the root folder of your site HTML file, the name and contents of which will be shown on the page that opens:

Create this file on your computer and in any text editor add the text given on the page to it. Then connect to your site via FTP protocol by using FTP manager filezilla described and copy the created file to the root folder (most often the root folder will be called either PUBLIC_HTML or HTDOCS).

After this, check whether you did everything correctly by clicking on the link provided on the rights confirmation page. If as a result a page with the required text opens, then you can safely click on the “Confirm” button.

At the top of the page there will be an inscription that confirmation may take several days, but in reality it took me several hours. In principle, it is not necessary to wait until the end of the process in order to continue setting up a domain mail connection. You will need to click on the "Connect Email" link shown in this screenshot:

On the page that opens, you will see instructions for the final binding of a domain box (type [email protected]) to the Google Apps (Gmail) service.

You will have to go to your hosting control panel () and change MX records(they indicate to mail servers where to forward correspondence addressed to this domain) to those that will be listed on this Google Apps page in the “MX Record Server Address” area located at the bottom of the page.

Changing MX records on hosting to send mail to Gmail

To change MX records in cPanel, you will need to log in with your username and password, and then follow the “MX Record” link located in the “Mail” area (see the first screenshot in this article). On the page that opens, select from the “Domain” drop-down list the name of the site for which you want to make changes.

As a result, they will open additional options for this domain. At the very bottom of the page is the “Current MX Records” area, which lists existing records. If they are already there for your domain, then you will need to click on the “Delete” link located in the “Actions” column opposite them to delete them:

After this, you need to use the “Add New Record” form to enter all MX records with the same priorities, as was written on the Google Apps page:

Enter the desired priority, then required address server and click on the “Add New Record” button and repeat for each record. I had to erase the dots at the end of the addresses, because cPanel did not allow adding entries with them. As a result, you should end up with something like this:

Actually, that's all. Connection may take several days. After that, you can enjoy all the benefits of working with Gmail, while having mail for your favorite domain.

To go to the Gmail page with your mailbox like [email protected], you need on your page in Google service Apps click on the link " Email"and look at the address on the page that opens, or simply enter address bar your browser:

Http://mail.google.com/a/site

replacing the domain name of my site with yours at the end of the link. In general, there are a lot of settings in Google Apps, but I think that you will successfully figure them out yourself if you need to add a few more email addresses using a domain name.

Create a mailbox for your domain in cPanel

It's time to quickly look at cPanel's capabilities for creating and setting up email accounts (mailboxes) like [email protected]. There are quite a lot of tools to work with:

But first we will need to click on the “Mail Accounts” link. On the page that opens, you will be asked to enter a name for your new mailbox, as well as select the end of its address from the drop-down list. This may be relevant if you have created several subdomains or additional domains in your hosting account, and you want to create an email specifically for them:

Password for new mail You can come up with a domain yourself or generate one that is difficult to hack by clicking on the “Password Generator” button. You will also need to select in the “Mailbox Quota” field whether you will limit the size of the new mailbox (as I mentioned earlier, correspondence will eat up space on your website hosting).

If you set a quota, then in the corresponding field you will need to enter a number in megabytes that specifies the size of the disk quota for the new mailbox.

To create it, all you have to do is click on the “Create Account” button. A line with the newly created Email will appear at the bottom of the page. In the future, you can change the settings for any of the mailboxes by selecting in the “Actions” column what you want to change (password, disk quota or delete your account from cPanel altogether):

In both cases, you should follow the “Webmail Access” link, which you can select from the drop-down list of the “More” button located at the end of the line with this account. As a result, a page will open that includes all the tools provided in cPanel for working with domain mail:

At the top, in my case, there are icons of two programs with which you can fully (this, of course, says it loudly) work with correspondence. You can configure the program you like to autostart after a certain number of seconds after you log into your hosting control panel.

To do this, click on the “Enable AutoLoad” link located under the program you like. Select in the pop-up window the period of time after which it should start after you log in to cPanel, and click on the “OK” button.

But if you prefer to work with letters in a familiar program installed on your computer, then you will need to find out the addresses of your hoster’s mail servers and the access ports for incoming and outgoing correspondence.

To do this, you will need to click on the “Configure” icon mail account" On the page that opens, you can generate a settings file for popular mailers or simply copy it to the “ Manual settings» server addresses and access ports:

You may also need to forward mail for a domain to some other one (for example, to your main mailbox). To do this, you will need to go to the “Forwarding Options” icon and on the page that opens, click on the “Add forwarding” button.

Next, you need to enter the address of the Email to which the letters will be forwarded and click on the “Add forwarding” button. This will open a page informing you about successful creation forwarding from your email hosting provider to your other mailbox:

Good luck to you! See you soon on the pages of the blog site

You can watch more videos by going to
");">

You might be interested

Buying a domain (domain name) using the example of the Reghouse registrar
Hosting and everything connected with it, working with cPanel
cPanel - creating and working with databases, adding subdomains and multidomains, as well as their parking
Selecting the optimal tariff and purchasing virtual hosting on the ProGoldHost service
Checking for employment and purchasing a domain name, what is the difference between domain registrars and resellers and what is WHOIS

For proper operation mail server, it is important to have it properly configured DNS zone. We have already touched on some aspects related to the DNS system, today we will dwell on this issue in more detail. DNS Settings zone refers to preparatory operations before deploying a mail server and the performance of the e-mail system directly depends on it.

Incorrect settings may result in mail being unable to be delivered to your mail server or recipient servers rejecting your mail. Indeed, if your zone records do not contain information about the mail server, where should mail be sent? To the village for grandfather? You can, of course, ask your provider to configure the DNS zone, but it is better to do it yourself.

What do we need? A dedicated IP address (let's say 11.22.33.44), which you must obtain from your provider. A domain name (for example example.com) can be registered with any registrar or their partner. When registering with a partner, check whether he provides access to DNS zone management, otherwise you will have to spend Extra time, nerves and money to transfer the domain to the registrar.

If you already have a domain and, most likely, a website operates on it, check whether it is possible to manage the DNS zone from the hosting provider's panel; otherwise, it is better to transfer the domain to the registrar; to do this, contact the provider's support.

So, we have a domain. What records does its DNS zone contain? Firstly, this is an SOA record - a description of the zone. We will not analyze all the records in detail, this is beyond the scope of our article, but have general idea about them is necessary. There should also be two NS records pointing to name servers ( DNS servers) serving this domain, these will be the registrar's servers or the hosting provider.

The first record to be added will be the A record or name record. It should point to the IP address of your server if you decide to serve all requests to the domain yourself or to the IP address of the hosting provider if you decide to host your website. When hosting a website with a hoster, the domain is usually delegated to its DNS server (the corresponding NS records are registered) and an A record will be created automatically when parking the domain.

This option is most common, but if necessary, you can always create an A record yourself. This entry looks like

Example.com. IN A 22.11.33.44

In our example, 22.11.33.44 is the address of our hosting provider where the site is located. Pay attention to the dot at the end of the name, this indicates that the name is absolute; in the absence of a dot, the name is considered relative and the domain name from SOA is added to it. You can check the entry with the command nslookup.

For the mail server to work, you need to create an MX record, which should point to our mail server. To do this, let's create a record:

Example.com. IN MX 10 mail.example.com.

You can also simply write:

Example.com. IN MX 10 mail

Example.com will be automatically added to this name (without a dot at the end). The number 10 determines the server priority; the lower it is, the higher the priority. By the way, the DNS zone may already contain an MX record like:

Example.com. IN MX 0 example.com.

Typically, this entry is automatically created by the hosting provider when hosting the site; it needs to be deleted.

Now let's create an A record for mail.example.com

Mail.example.com. IN A 11.22.33.44

Now all mail for the example.com domain will be sent to the mail host with the address 11.22.33.44, i.e. your mail server, while at the same time the example.com site will continue to work on the provider’s server at 22.11.33.44.
The question may arise: why can’t you immediately specify the IP address of the mail server in the MX record? In principle it is possible, some people do it, but it does not comply with DNS specifications.

You can also make aliases for a mail server like pop.example.ru And smtp.example.ru. Why is this necessary? This will allow the client not to depend on the features of your infrastructure, having specified the settings once. Let's say that your company has grown and allocated a separate mail server to serve external clients. mail1, all you need to do is change two DNS records, clients will not even notice that they are working with a new server. To create aliases, CNAME type records are used:

Pop IN CNAME mail.example.com.
smtp IN CNAME mail.example.com.

This is the setting direct DNS zones can be considered completed, the most interesting thing remains - the reverse zone. The reverse zone is managed by the provider that issued you the IP address and you cannot manage it yourself (unless you are the owner of a block of IP addresses). But you need to add at least one entry to the reverse zone. As we wrote in the previous article, many mail servers check PTR records (reverse zone records) for the sending server, and if they are absent or do not match the sender’s domain, the letter will be rejected. Therefore, ask your provider to add an entry like this for you:

44.33.22.11.in-addr.arpa. IN PTR mail.example.com.

A bit strange looking, isn't it? Let's look at the PTR record structure in more detail. A special domain is used to reverse name conversion top level in-addr.arpa. This is done in order to use the same software mechanisms for forward and reverse name conversion. The fact is that mnemonic names are written from left to right, and IP addresses are written from right to left. So mail.example.com. means that host mail is in the domain example, which is in the top-level domain com., 11.22.33.44 means that host 44 is in subnet 33, which is part of subnet 22, belonging to the network 11. To save uniform order PTR records contain a backwards IP address appended with a top-level domain in-addr.arpa.

You can also check MX and PTR records with the command nslookup using additional parameter -type=MX or -type=PTR

And of course, we should not forget that any changes in DNS zones do not occur instantly, but within several hours or even days, which are necessary for the changes to propagate throughout the global DNS system. This means that although your mail server will start working 2 hours after making changes, your partner may not send mail to you for a longer time.

In this article I will tell you how to connect Mail for domains from Yandex.

Advantages of connecting a domain to Yandex:

  • Unlimited mailbox capacity
  • Reliable anti-spam and virus protection system
  • Many different themes for the interface
  • Access to mail via POP3/IMAP protocols
  • Mail interface in Russian
  • You can create a corporate email
  • Ability to create mail for your users
  • A familiar interface for working with mail

Personally I like it mobile mail so that from your own mobile phone check and respond to emails. Well, if you need a beautiful and respectable mailing address, then Mail for a domain from Yandex is especially for you. Agree that it loses to an email address

What do we need to connect a domain to Yandex Mail?

1. Domain

If you don't have one yet, register now at . In order to pick up beautiful domain, use my special tool

2. Yandex account

Most likely, you already have it; you could create it for Yandex Money or for Direct or for the same mail. If not, then you need to register it at http://pasport.yandex.ru.

Let's start connecting Yandex Mail for domains

Connecting a Domain to Yandex Mail consists of only 2 main steps.

  • Step 1: Verify domain ownership
  • Step 2. Set up MX records

In fact, it is not as easy as it might seem at first glance. The hardest part here is setting up the MX records.

So, you have a domain and a Yandex account and you want to combine them, then go to http://pdd.yandex.ru/ and enter your domain in a special form. Then click the "Connect" button. The system will ask you to log in, if you have not done so already, of course.

  1. Upload a file named 3b******223a.html and containing the text 866****34f58 to the root directory of your site
  2. For the yamail-3b******223a subdomain in your domain zone, set up a CNAME record for mail.yandex.ru.
  3. Specify the website address +3b****** as a contact address postal address for your domain (if your registrar does not accept this address, then enter 3b****** instead).

Personally, I like the first method. Create a file with the text 866****34f58, save it as 3b******223a.html, and then upload it to the server using ftp client, just a matter of minutes.

Let's move on to setting up the MX record

There are also several options here. If you have new domain or you purchased it specifically for Mail, then the best option will delegate the domain.

To delegate, the registrar must register the following entries.

  • Primary DNS server: dns1.yandex.ru.
  • Secondary DNS server: dns2.yandex.ru.

Attention! If you have a working website, then when delegating a domain, the site may crash (become unavailable)!

If you have a site with a track record, then it would be better to change the MX record. The Yandex Mail website has help on changing the entry for Russian hostings https://pdd.yandex.ru/help/section_interfaces/.

In this case, you will have to take a longer path - speed up the site using CloudFlare service, more details in the article "", while we get a number of functions to speed up the site and DNS editor, in which you can already change the MX record.

If you have accelerated the site, then go to the CloudFlare website and select DNS settings in the settings drop-down menu for the connected domain. The following screenshot shows what changes need to be made.

  1. In the drop-down menu, the record type is MX. In the “Subdomain” line, enter the domain to connect with a dot at the end. In the “Priority” line, indicate - 10 . In the line “MX server” - mx.yandex.ru.
  2. Next, select the TXT recording type from the drop-down menu. The recording is necessary to reduce the likelihood of emails sent from the domain ending up in Spam. In the “Subdomain” line, enter the domain with a dot at the end. In the "Text" field, enter: v=spf1 redirect=_spf.yandex.ru
  3. Select the CNAME record type from the drop-down menu. An entry is required to set up access to mail at mail.yourdomain.ru. You must fill in the fields as follows: In the “Subdomain” line, enter the value mail, to the line “Hostname” - domain.mail.yandex.net
  4. To set up Jabber (Chat) on your domain, select SRV record from the drop-down menu. In the “Service” line enter the value _xmpp-server._tcp, leave the lines “Protocol” and “Name” empty, in the line “Priority” indicate 20 , in the line “Weight” - 0 , in the “Port” line - 5222 , in the line “Host” - domain-xmpp.ya.ru.
  5. Repeat SRV recording with a different port 5269 .
  6. All other existing MX records must be deleted.
  7. Save settings.

Changes take effect within 48 hours.







2024 gtavrl.ru.