Incoming mail server mail. Yandex mail settings for email clients on computers and mobile devices

You can work with letters not only through the Yandex.Mail web interface, but also using various email programs installed on your computer.

Configure the program using the IMAP protocol

When using the IMAP protocol, the mail program synchronizes with the server and preserves the folder structure of your mailbox. The letters you send through your email program will be stored not only on your computer, but also on the server, and you will be able to access them from various devices.

Before setting up your email program, enable the IMAP protocol:

To configure an email program using the IMAP protocol, you must specify the following information:

Incoming mail

  • connection security - SSL;
  • port - 993.
Outgoing mail
  • connection security - SSL;
  • port - 465.

. ru »

IMAP protocol support will be enabled automatically the first time you log in to your email program.

When using the POP3 protocol, all letters from the folders that you specify in the menu Settings → Mail programs, will be saved by the email program to your computer in the Inbox folder. If necessary, you can set up filters in your email program to automatically move emails to the desired folders. Emails you send will only be stored on your computer.

Note. When downloading emails from a server using the POP3 protocol, Yandex.Mail automatically saves copies of emails on the server, but you can delete emails manually using the web interface. If you want to delete emails using an email program, use the IMAP protocol.

Before setting up your email program, enable the POP3 protocol:

To configure an email program using the POP3 protocol, you must specify the following information:

Incoming mail

  • connection security - SSL;
  • port - 995.
Outgoing mail
  • mail server address - smtp.yandex.ru;
  • connection security - SSL;
  • port - 465.

To access the mail server, enter your Yandex username and password (or if you have enabled two-factor authentication). If you set up receiving mail from a mailbox like “login@yandex. ru », the login is the part of the address before the “@” sign. If you use, you must specify the full mailbox address as your login.

You can configure to receive emails via POP3 from any folder, including Spam. To do this, open the menu Settings → Mail programs and mark the required folders.

When mailbox contents are downloaded by email programs, emails are not marked as read by default. If you want to mark received emails as read, enable the appropriate option.

Problems with the mail program

This step-by-step guide will help you solve problems related to your email program.

Select an issue:

What message did you receive?

If a message appears about no connection to the server, try logging into Yandex.Mail with the same username and password that you use in the program. Enter your username and password manually, without using those stored in the browser.

Make sure that in the Mail programs settings section, the protocol\n you want to use is enabled.\n

Make sure that in the mail program settings you have accurately specified\\n the following server parameters:\\n \\n \\n

If you are using IMAP

    \\n
  • mail server address - imap.yandex.ru;
  • \\n
  • connection security - SSL;
  • \\n
  • port - 993.
  • \\n
    \\n
  • mail server address - smtp.yandex.ru;
  • \\n
  • connection security - SSL;
  • \\n
  • port - 465.
  • \\n
\\n \\n \\n \\n\\n

\\n \\n \\n \\n

If you are using POP3

\\n \\n \\n Incoming mail \\n \\n

    \\n
  • mail server address - pop.yandex.ru;
  • \\n
  • connection security - SSL;
  • \\n
  • port - 995.
  • \\n
\\n \\n \\n \\n Outgoing mail \\n \\n
    \\n
  • mail server address - smtp.yandex.ru;
  • \\n
  • connection security - SSL;
  • \\n
  • port - 465.
  • \\n
\\n \\n \\n \\n\\n

\\n \\n \\n \\n\\n

For more information on how to check server settings in different mail programs, see the section.

\\n ")]))\">

Make sure that in your mail program settings you have accurately specified\nthe following server parameters:

If you are using IMAP

    \n
  • mail server address - imap.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 993.
  • \n
    \n
  • mail server address - smtp.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 465.
  • \n
\n \n \n \n\n

\n \n \n \n

If you are using POP3

\n \n \n Incoming mail \n \n

    \n
  • mail server address - pop.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 995.
  • \n
\n \n \n \n Outgoing mail \n \n
    \n
  • mail server address - smtp.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 465.
  • \n
\n \n \n \n\n

\n \n \n \n\n

Encryption of transmitted data.


\n\n ")]))">

Make sure that the protocol you want to use is enabled in the settings section.

Make sure that in your mail program settings you have accurately specified\n the following server parameters:\n \n \n

If you are using IMAP

\n \n \n Incoming mail \n \n

    \n
  • mail server address - imap.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 993.
  • \n
\n \n \n \n Outgoing mail \n \n
    \n
  • mail server address - smtp.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 465.
  • \n
\n \n \n \n\n

\n \n \n \n

If you are using POP3

\n \n \n Incoming mail \n \n

    \n
  • mail server address - pop.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 995.
  • \n
\n \n \n \n Outgoing mail \n \n
    \n
  • mail server address - smtp.yandex.ru;
  • \n
  • connection security - SSL;
  • \n
  • port - 465.
  • \n
\n \n \n \n\n

\n \n \n \n\n

For more information on how to check server settings in different mail programs, see the section Encrypting transmitted data.

\n ")]))">

Make sure that in your mail program settings you have accurately specified the following server parameters:

If you are using IMAP

Incoming mail

  • mail server address - imap.yandex.ru;
  • connection security - SSL;
  • port - 993.
Outgoing mail
  • mail server address - smtp.yandex.ru;
  • connection security - SSL;
  • port - 465.

If you are using POP3

Incoming mail

  • mail server address - pop.yandex.ru;
  • connection security - SSL;
  • port - 995.
Outgoing mail
  • mail server address - smtp.yandex.ru;
  • connection security - SSL;
  • port - 465.

For more information on how to check server settings in different email programs, see the section Encrypting transmitted data.



If the "Authentication required" message appears, "Sender address rejected: Access denied" or “Send auth command first”, authorization on the Yandex SMTP server is disabled in the mail program settings. Make sure the option is enabled User Authentication(for Outlook Express) or SMTP Authentication(for The Bat!).

If a message appears "Sender address rejected: not owned by auth user", the address from which you are trying to send a letter does not match the one under whose login you are authorized on the SMTP server. Make sure that in the mail program settings, the return address is set to exactly the address from which the login is used in the SMTP authorization settings.

If a message appears "Login failure or POP3 disabled", the mail program cannot access the mailbox using the POP3 protocol. Make sure that the correct password for the mailbox is entered and that POP3 access is enabled in the settings section.

If a message appears "Message rejected under suspicion of SPAM", the contents of your email were recognized by Yandex.Mail as spam. To solve the problem, open Yandex.Mail and send any one letter as a test. This way you will prove to the system that the letters are not being sent by a robot.

Check your computer for viruses using free antivirus programs: CureIt! from Dr.Web and Virus Removal Tool from Kaspersky Lab.

If your mail program does not accept or send letters, check that your mail program settings are correct, as well as your computer’s Internet connection settings.

If you are using an antivirus program, firewall, or proxy server, disable them and see if this reproduces the problem.

Read step-by-step instructions to find missing emails. Before starting work .

Select an issue:

When you delete messages, they go to the Deleted Items folder and are stored there for 30 days. During this period you can restore them:

  1. Go to the Deleted Items folder.
  2. Select the required letters.
  3. Click the To Folder button.

If more than a month has passed since they were deleted, it will not be possible to restore the letters - they have been permanently deleted from the Yandex.Mail servers.

If the letters are not in the folder where they should be, then most likely they ended up in another folder, for example in Deleted Items or Spam. If you remember the sender's name or address, part of the text of the letter or the subject, try searching for letters in all the folders in your mailbox.

Have you found the letters?

You can restore letters:

  1. Go to the folder in which the letters were found.
  2. Select the required letters.
  3. Click the To Folder button.
  4. Select from the list the folder where you want to move the letters - for example, Inbox.

Why emails disappear and how to avoid it

The Deleted emails folder is stored for 30 days, and the Spam folder for 10 days. After this, they will be permanently deleted from Yandex servers. Why emails may end up in these folders without your knowledge:

Another user has access to your mailbox

Emails can be deleted by a user who has access to your mailbox: perhaps you forgot to end your session after working on someone else's device. To end your session, click the link in your account menu Log out on all devices. This can also be done on the page - using the link Log out on all computers.

Letters disappear in the mail program

configure the program using the POP3 protocol

A rule has been configured that deletes or moves letters. Letters disappear in the mail program.

If you use a mail program and delete letters in it, they disappear on . This happens because your program is configured using the IMAP protocol - in this case, the mailbox structure on the service is synchronized with the mailbox structure in the program. To delete messages only in the program, but leave them in Yandex.Mail, you can configure the program using the POP3 protocol, but we recommend not doing this: the messages may not synchronize correctly with the server.

A rule has been configured that deletes or moves emails Indicate authentic ones in Yandex.Passport and link them to your account. Our security system may have found your account suspicious and blocked your mailbox. Most often, this happens due to the fact that the phone number is not attached to the box or the Passport contains a fictitious first and last name. It usually takes a couple of hours to remove the lock.

If you delete letters in your mail program, but they are still in their folders on the Yandex.Mail website, then most likely your mail program is configured using the POP3 protocol. Due to the peculiarities of the POP3 protocol, messages in the mail program may not synchronize correctly with the server. To work with Yandex.Mail, it is recommended to use the IMAP protocol. To learn how to migrate your email program from POP3 to IMAP, see Migration from POP3.

If your email program does not display sent emails, then most likely your email program is configured using the POP3 protocol. Due to the peculiarities of the POP3 protocol, messages in the mail program may not synchronize correctly with the server. To work with Yandex.Mail, it is recommended to use the IMAP protocol. To learn how to migrate your email program from POP3 to IMAP, see Migration from POP3.

The report always indicates the reason for non-delivery. You can read about the most common reasons in the article web/letter/create.html#troubleshooting__received-report.

If you receive errors about an incorrect certificate when activating SSL encryption in your email program, make sure that your email program and operating system are configured correctly:

  • On a computer (without lags and "date from the future"). If the wrong date is set, the system erroneously determines that the certificate has not yet expired or has already expired.
  • All installed.
  • Checking HTTPS connections is disabled in your antivirus settings. You can change your antivirus settings according to our instructions for Kaspersky Internet Security and ESET NOD32 Smart Security in the Security certificate errors section.

Manually add a certificate to the list of trusted certificates (Windows)

Attention. If you are not sure that you can install the certificate yourself, contact a specialist.

To add a certificate to the list of trusted certificates:

  1. Download the certificate. (If the linked file opens directly in your browser, click CTRL + S and save the file to your computer; there is no need to copy text from the file.)
  2. Open the Start menu.
  3. In the search box, type certmgr.msc and press Enter.
  4. In the program window, in the folder tree, click on the folder.
  5. In the right part of the window, right-click on Certificates and select All tasks → Import.
  6. Click "Next .
  7. Click the Browse button and select the CA.pem file you downloaded earlier. Click Next.
  8. In chapter Certificate store Leave the default settings and click Next.
  9. Click Finish.
  10. (Opt.) In the pop-up dialog, click Agree.
  11. In the folder tree, click on the folder Trusted Root Certification Authorities→ Certificates.
  12. In the list of certificates (on the right), find the certificate Certum CA, right-click on it and select Properties.
  13. Go to the General tab.
  14. .
  15. In the block, set the switch to the Internal position.
  16. Click OK.
  17. Try sending a letter. If the certificate error appears again, then in the same block Properties → S/MIME and TLS → Implementing S/MIME and TLS certificates Set the radio button to Microsoft CryptoAPI.
  18. Click OK button.

Note. The switch positions have to be changed manually, because... in some versions of The Bat! the Internal position will work, in others -

  • SMTP: server - localhost, port - 25
    • POP3: server - localhost, port - 110
    • IMAP: server - localhost, port - 143

    If the problem persists, try using the recommendations from the articles Trade Management Mail Client and gmail (following the recommendations, substitute yandex instead of gmail everywhere) and Sending letters and receiving email using SSL.

    I am sending emails from a scanner that does not support SSL

    Set up your MFP or scanner as follows:

    1. Specify the following SMTP parameters:
      • server - smtp-devices.yandex.com
      • port - 25
    2. Enable authentication (authentication).
    3. Enter your username and password in the appropriate fields.

      Attention. Be sure to enter your username and password manually. If you select authentication similar to the incoming mail server, sending will not work.

    Limitation. You can send letters in this way only to addresses served by Yandex.Mail (in the yandex.ru domain or to addresses. Letters will not be sent to the mailboxes of other mail services through this server.

    If you recently changed your mailbox password, make sure you also update your mail program settings. If the password in the settings is correct, wait a few hours - the mail program settings may not synchronize with the Yandex server right away.

    Try logging in with the same username and password: enter the authorization data again, rather than using the ones you remembered earlier. If you are required to enter check digits, you can read the list of possible reasons in the article Why do I need to enter check digits during authorization?

    About 10 years ago, when I was just starting to look for ways to make money online, I couldn’t find proper training. You are luckier; there are great training programs on earning opportunities on social networks and more. If you're interested, you can watch it here.

    We continue to consider the main issue. Let's lay it out clearly. As they say, “one step at a time.” Ready? If you don’t have an e-mail yet or are planning to create another address, then just in case, I’ll give you step-by-step instructions on how to do it for free.

    IMAP and POP3 protocols

    What it is? It's simple - these protocols are used for the correct operation of email programs on your device. Now let's see what the difference is between them and what specific settings can be used.

    IMAP is used to synchronize with the main server. When using this protocol, letters will be saved both on the Internet and on the computer itself. This has a significant advantage - access to correspondence can be obtained from different devices, since it is accessible via the network. Of course, only for those who have a login and password for their account. If you forgot, then you can.

    When customizing an email client by working with the POP protocol, you need to know one of its features. The letters you send will be saved exclusively on your computer. Therefore, you will not be able to view them from other devices. This feature will be good for corporate email, where confidentiality is important.

    Main settings

    Let me show you how to set up your Yandex mail in a screenshot to make it clearer. To get started, go to your mail and click on the “gear” in the upper right corner.

    When clicked, a list will pop up. We do it as in the screenshot.

    Select the mail program settings as shown below.

    Now you can select the protocol you want to use.

    To configure your email client, you may need to enter the following information:

    • Addresses of servers through which letters will be sent and received;
    • Port number for interaction with the server;
    • The type of connection over which data will be encrypted.

    Both protocols have the same server for sending your letters - smtp.yandex.ru. SSL is used to protect data. Other parameters are slightly different.

    In IMAP, you need to use port 993 for incoming messages, and 465 for outgoing messages. In POP3, 995 and 465, respectively. imap.yandex.ru, pop.yandex.ru are server addresses for incoming correspondence for IMAP and POP3, respectively.

    Setting example

    For clarity, I will show the setting using the example of Microsoft Outlook, which is quite easy to use. Is it already installed on your computer?

    First, open Outlook and click “file”.

    Click on the “add account” button and look at the following screenshot.

    Select manual setting.

    We choose to work with already familiar protocols.

    At this stage, enter the parameters described above. As you can see, setting up Outlook is quite quick and easy.

    Setting up mobile devices

    Owners of mobile devices are very lucky. Usually you don’t need to do anything special. On Android phones and tablets, I often see pre-installed email applications that are almost ready to use. Unless you need to enter your credentials (login, password) so that the mail client can access your email inbox with correspondence.

    If you still want to go into detailed settings, then the same ports 993 and 465 that I mentioned earlier are used for IMAP. The connection servers are the same. The only thing that can be displayed for a secure connection is SSL/TLS.

    Do you have something to add or haven't found the information you need? Let us know in the comments. Perhaps your information will be useful to other users, or I may add information that interests you in the future.

    Useful opportunities for business people

    A huge number of people use email programs on their computers and mobile devices. Do you know how they are used by people who make money on the Internet? I won’t describe absolutely everything, I’ll just briefly talk about the common possibilities. For work purposes, email applications can be useful for the following purposes:

    • Simultaneous work with work and personal email accounts;
    • Prompt correspondence with customers;
    • Using shared files by using Ya.Disk capabilities together with mail.

    Do you already know how to work and get money online? To do this, you don’t have to be a professional designer or programmer. Are you actively interested in, for example, the possibilities of social networks? If so, there may be a job for you too. The main thing is to be able to do it. There are cool training programs where you can find something interesting for yourself. You can look here.

    This concludes the article. I hope that I clearly explained how you can configure Yandex mail on various devices. You might also be interested in how to use email clients. Subscribe to updates in the form below or follow them on social networks, I will be glad to see you.

    Most email service users are quite happy with the standard web client that their service provider offers them. Actually, this is the form in which this mail service is used most often, but this is not because it is so convenient, but because people simply do not know where to find an alternative and how to set up mail reception in third-party programs . If email is your work tool, then you probably won't be able to do without an advanced email client that would replace the web interface. In this material we will look at how to create a mailbox on the Mail.ru domain and implement (IMAP) for various client programs, including Outlook and Apple Mail. Let’s immediately look at the main errors that arise when working with the email service in general and with third-party email clients in particular.

    Mailbox registration

    You can register Mail.ru on the service’s official website.

    When registering, you must fill in a number of required fields with personal data:

    • Name - you can enter any name, despite the requirement to enter your real name.
    • Last name - you can specify any name.
    • Mailbox - you must specify a nickname, but the mail will offer it itself.
    • Password - you must specify a complex password using special characters.

    There are other fields, but they are not required.

    IMAP protocol

    This protocol is the most optimal and convenient for working with email and is supported by all popular email services. In addition, storing mail in the cloud has a positive effect on security and reliability (emails will definitely not be lost and will always be available on different devices).

    Correct configuration of Mail.ru via the IMAP protocol requires knowledge of certain data to provide access to the mailbox:

    • Email address (mail adress) is the full name of your mailbox, accompanied by the @ dog icon and the domain name.
    • Next, you should designate the server for incoming IMAP mail - in our case, imap.mail.ru.
    • sent from an SMTP server - in our case the server smtp.mail.ru is installed
    • Password - the password currently used (to access the mailbox).
    • Then you should enter the port for the IMAP server (select port 993, and select SSL/TSL as the encryption protocol).

    Outlook

    Setting up Mail.ru (IMAP) for the Microsoft client varies depending on which version you are using. In the 2016 version you need:

    • Go to the "File" menu in the top left corner.
    • Next, go to the “Information” submenu.
    • Then click “Add account”.
    • You will be asked to select one of the setup modes (manual or automatic); you must select manual and indicate all the data stated above.
    • Username, mailbox address, current password.
    • Next, you need to select the IMAP account type and specify the appropriate servers.
    • Then you should open “Advanced settings”.
    • Select the “Advanced” submenu and enter port 993 in the IMAP server field.

    The Bat!

    Configuring Mail.ru (IMAP) in this client is carried out using the built-in utility interface, which offers step-by-step data entry.

    You need to add a new box, to do this you need:

    • In the top panel of the interface, click on the “Mailbox” button and select the “New mailbox” submenu.
    • Indicate any name of your choice, for example “Work mail”.
    • On the next settings screen, you must enter your full name, email address, and organization.
    • On the next settings screen you need to specify the IMAP server information - imap.mail.ru.
    • On the final settings screen, you must enter your email address and password to log in.

    For further configuration, you need to go to “Mailbox Properties” and specify the IMAP port 993 and the SMTP port 465.

    Apple Mail

    Setting up Mail.ru (IMAP) in the macOS system is carried out at the system settings level, or through the built-in Mail program.

    To configure through the Mail application, you must do the following:

    • Open the Mail application itself.
    • Select “File” in the top menu.
    • Select the “Add account” submenu.

    As with The Bat, Apple's client offers step-by-step setup.

    The first window will ask you to enter basic data for the mailbox:

    • Your name (any name you choose, it should not be associated with your mailbox).
    • Email address (full address with @ and domain).
    • Password (used when registering on the mail.ru website).

    The program will make further settings automatically, but errors may occur, and then the program will prompt you to enter additional data.

    • Server type - select IMAP.
    • Description - the name of the box (any, user choice).
    • The server where incoming mail will be received is imap.mail.ru.
    • Password - the password used when registering on the mail.ru website.
    • The server from which your letters will be sent - you need to specify the server smtp.mail.ru (attention, you must also check the box next to the “Use only this server” option, as well as the “Use authentication” option).
    • Username - here you need to enter your full email address, along with @ and domain.
    • The password is the same password that was entered in the previous window.

    After the operations have been completed, the program will offer to check all the data again and create a new box.

    After the new mailbox has been added to the list of program mailboxes, you need to change the port in the settings. To do this you need:

    • Open the Mail program settings.
    • Select the “Accounts” submenu.
    • In this submenu you need to find the “Outgoing mail server” item and select the “Change list of SMTP servers” sub-item in the drop-down menu.
    • Next, you need to check the box next to the “Use a random port” option and enter port 465 there.
    • Next, you need to check the box next to the “Use SSL” option.

    Mail for iOS

    Setting up Mail.ru (IMAP) in iOS is done using the same method as in macOS, through system settings. To add a new mailbox you need to:

    • Go to “Settings - Mail”.
    • Open the list of accounts and click on the “Add account” button.
    • Select "Other" from the list of suggested domains.
    • Next, you need to specify basic user data (name, email address, password).
    • Then click on the “Next” button, and the program will complete the setup itself.

    You will have to specify the server and ports manually; for this you should:

    • Click on the name of the newly created box.
    • Open mailbox settings.
    • In the SMTP item you must specify smtp.mail.ru.
    • In the IMAP item you must specify imap.mail.ru.
    • In the SMTP settings, you must check the “Use SSL” option and enter port 465.

    Mail for Android

    First, you should decide which email client is installed on the system. This guide provides instructions for setting up a standard client for Android. Mail.ru (IMAP) is configured manually. To add a new mailbox you need to:

    • Open the Email application.
    • Enter your mailbox details (full address with @ with domain and password used during registration).
    • Then tap the Manual key.

    Select the IMAP server type.

    An additional menu will appear in which you will need to enter data for the server with incoming correspondence:

    • IMAP server - imap.mail.ru.
    • Security protocol - SSL/TSL.
    • You must also change the port to 993 and click Next.

    An additional menu will appear where you will need to enter the server data for outgoing mail:

    • SMTP server - smtp.mail.ru.
    • Security protocol - SSL/TSL.
    • You should also enter the port number 465 and click the “Finish” button.

    Official client

    To avoid fiddling with setting up Mail.ru (IMAP) for third-party clients, you can download the official application, which is available for download from all major application stores, including AppStore and Google Play. An important advantage of these applications is that there is no need to enter server data manually. All you need to know is the password (the one used during registration) and email address (the application will set the domain automatically). Moreover, the registration process itself can be completed in the mobile application, without resorting to using the website. The application interface has been pre-created for maximum convenience for those who use mail.ru mail. If the user has mailboxes in other services, they can be added directly to the same application, and all correspondence will arrive in one program. As for desktop computers and laptops, here, alas, developers have nothing to offer except a web client.

    Possible mistakes

    As with any email service, or software in general, problems may arise. The same applies to setting up Mail.ru (IMAP) for third-party email clients.

    • Error 550 Message sending for this account is disabled - the problem can be solved by changing the password for the mailbox.
    • Mailbox Full Error - From the name it is clear that the problem arose due to the fact that the mailbox is full. You need to wait a while or empty your inbox.
    • Error User not found - a similar error appears if the recipient is not registered in the Mail.ru database. In this case, you need to double-check the recipient's address or another way to contact him.
    • Error No such message, only 1000 messages in maildrop (No such message, only 1000 messages in mail) - an error occurs when trying to download correspondence to a third-party email client. To fix it, you need to open your email account through a web browser and erase the oldest letter from it, and then try to download them again using a third-party email client.
    • Error We do not accept mail from dynamic IP (We do not accept letters from mailboxes with a dynamic IP address) - the problem occurs due to an incorrectly configured PTR (it is similar to an entry for dynamic IP addresses). Due to the dominance of spam, Mail.ru management had to block such addresses. The problem can only be fixed by the provider who changes the PTR.
    • Error 550 Spam message discarded/rejected - This error means that the email was blocked by a spam filter. The problem can only be resolved by the support service.
    • Error Access to this account is disabled - most likely, the mailbox to which you are trying to send a letter has been deleted because it has not been used for a long time.

    This article covers the most commonly used Internet email protocols - POP3, IMAP, and SMTP. Each of them has a specific function and way of working. The content of the article explains which configuration is best suited for the user's specific needs when using an e-mail client. It also reveals the answer to the question of what protocol e-mail supports.

    What is POP3?

    Protocol Version 3 (POP3) is a standard email protocol used to receive email from a remote server to a local email client. Allows you to download messages to your local computer and read them even if the user is offline. Please note that when you use POP3 to connect to your account, messages are downloaded locally and deleted from the email server.

    By default, the POP3 protocol runs on two ports:

      port 110 is an unencrypted POP3 port;

      port 995 - this should be used if you want to connect to POP3 securely.

    What is IMAP?

    Internet Message Access Protocol (IMAP) is a protocol for receiving email messages, used to access email on a remote web server from a local client. IMAP and POP3 are the two most commonly used protocols for receiving emails and are supported by all modern email clients and web servers.

    The POP3 protocol means that your email address is accessible only from one application, while IMAP allows simultaneous login from several clients at once. This is why IMAP is better if you're going to be accessing your email from different places or if your messages are managed by multiple users.

    The IMAP protocol runs on two ports:

      port 143 is the default unencrypted IMAP port;

      port 993 - this must be used if you want to connect securely using IMAP.

    What is SMTP?

    The protocol is a standard protocol for sending email over the Internet.

    SMTP operates on three ports:

      port 25 is unencrypted by default;

      port 2525 - this is opened on all SiteGround servers if port 25 is filtered (for example by your ISP) and you want to send unencrypted emails using SMTP;

      port 465 - This is used if you want to send messages securely using SMTP.

    What protocols are used to exchange email? Concepts and terms

    The term email server refers to the two servers required to send and receive emails, i.e. SMTP and POP.

    The incoming mail server is the server associated with your email address account. It cannot have more than one incoming mail server. To access incoming messages, you need an email client—a program that can receive email from an account, allowing the user to read, forward, delete, and reply to messages. Depending on your server, you may be able to use a dedicated email client (such as Outlook Express) or a web browser. Thus, Internet Explorer is used to access email-based accounts. Messages are stored on the incoming mail server until it is downloaded. Once you have downloaded your mail from the mail server, you cannot do it again. To successfully download data, you must enter the correct settings in your email program. Most incoming mail servers use one of the following protocols: IMAP, POP3, HTTP.

    Outgoing mail server (SMTP)

    This is a server used only for sending emails (to transfer them from your email client program to the receiver). Most outgoing mail servers use Protocol) to send correspondence. Depending on your network settings, the outgoing mail server may belong to your ISP or the server where you set up your account. Alternatively, you can use a subscription-based SMTP server that will allow you to send emails from any account. Due to spam issues, most outgoing email servers do not allow you to send emails unless you are logged into their network. A server with an open relay will allow you to use it to send emails, whether you belong to its network group or not.

    Email Ports

    For networks, a port means the end point of a logical connection. The port number determines its type. The following are the default email ports:

      POP3 - port 110;

      IMAP - port 143;

      SMTP - port 25;

      HTTP - port 80;

      secure SMTP (SSMTP) - port 465;

      secure IMAP (IMAP4-SSL) - port 585;

      IMAP4 over SSL (IMAPS) - port 993;

      Secure POP3 (SSL-POP) - port 995.

    Email protocols: IMAP, POP3, SMTP and HTTP

    Basically, a protocol refers to a standard method used at each end of a communication channel. To deal with email, you must use a special client to access the mail server. In turn, they can exchange information with each other using completely different protocols.

    IMAP protocol

    IMAP (Internet Message Access Protocol) is a standard protocol for accessing email from your local server. IMAP is a client/server protocol in which email is received and data is stored by your Internet server. Since it only requires a small data transfer, it works well even on a slow connection, such as a modem connection. When attempting to read a particular email message, the client downloads data from the server. You can also create and manage folders or mailboxes on the server, and delete messages.

    POP3 protocol

    POP (Post Office Protocol 3) e-mail provides a simple, standardized way for users to access their mailboxes and download messages to their computers.

    When using the POP protocol, all your email messages will be downloaded from the mail server to your local computer. You can also leave copies of your emails on the server. The advantage is that after downloading your messages, you can disconnect your Internet connection and read your email at your leisure without incurring additional communication costs. On the other hand, with this protocol you receive and download a lot of unwanted messages (including spam or viruses).

    SMTP protocol

    The protocol is used by a mail transfer agent (MTA) to deliver electronic messages to a specific recipient server. SMTP can only be used to send emails, not to receive them. Depending on your network or ISP settings, you may only be able to use the SMTP protocol under certain conditions.

    HTTP protocols

    HTTP is not a protocol designed for email communications, but it can be used to access your mailbox. It is also often called web email. It can be used to compose or receive emails from your account. Hotmail is a good example of using HTTP as an email protocol.

    Managed File Transfers and Network Solutions

    Your ability to send and receive email is primarily due to ​three TCP protocols. They are SMTP, IMAP and POP3.

    SMTP

    Let's start with SMTP because its main function is different from the other two. SMTP, or Simple Mail Transfer Protocol, is primarily used to send email from an email client (such as Microsoft Outlook, Thunderbird, or Apple Mail) to an email server. It is also used to relay or forward mail messages from one mail server to another. This is necessary if the sender and recipient have different email service providers.

    SMTP, which is specified in RFC 5321, uses port 25 by default. It can also use port 587 and port 465. The latter, which was introduced as the port of choice for secure SMTP (a.k.a. SMTPS), is considered deprecated. But in fact, it is still used by several email service providers.

    POP3

    The Post Office Protocol, or POP, is used to retrieve email messages from the latest version that is widely used is version 3, hence the term "POP3".

    POP version 3, specified in RFC 1939, supports extensions and several authentication mechanisms. Authentication features are required to prevent malicious users from accessing user communications.

    The POP3 client receives email as follows:

      connects to the mail server on port 110 (or 995 for SSL/TLS connections);

      deletes copies of messages stored on the server;

      disconnects from the server.

      Although POP clients can be configured to allow the server to continue to store copies of downloaded messages, the steps described above are common practice.

      IMAP

      IMAP, especially the current version (IMAP4), is a more complex protocol. This allows users to group related messages and place them in folders, which in turn can be organized hierarchically. It is also equipped with message flags that indicate whether the message has been read, deleted, or received. It even allows users to search server mailboxes.

      Operating logic (imap4 settings):

      • connects to the mail server via port 143 (or 993 for SSL/TLS connections);

        retrieves email messages;

        serves to connect before closing the mail client application and download messages on demand.

      Please note that messages are not deleted on the server. This can have serious consequences. IMAP specifications can be found in RFC 3501.

      Choosing between IMAP and POP3

      Since the core function of SMTP is fundamentally different, the dilemma of choosing the best protocol usually involves only IMAP and POP3.

      If server storage space is important to you, then choose POP3. A server with limited memory is one of the main factors that may force you to support POP3. Because IMAP leaves messages on the server, it can consume memory space faster than POP3.

      If you want to access your mail at any time, then it is better to stick with IMAP. There is one good reason why IMAP was designed to store messages on a server. It is used to search for messages from multiple devices - sometimes even simultaneously. So if you have an iPhone, Android tablet, laptop and desktop and want to read email from any or all of these devices, then IMAP is the best choice.

      Synchronization is another advantage of IMAP. If you access email messages from multiple devices, you'll likely want them all to show any activity you've performed.

      For example, if you read messages A, B, and C, you want them to also be marked as read on other devices. If you have deleted letters B and C, then you will want the same messages to be deleted from your inbox on all gadgets. All these synchronizations can only be achieved if you use IMAP.

      Since IMAP allows users to organize messages hierarchically and place them in folders, it helps users better organize their correspondence.

      Of course, all IMAP functionality comes at a price. These solutions are more difficult to implement and the protocol ends up consuming a lot more CPU and RAM, especially when it performs the synchronization process. In fact, high CPU and memory usage can happen on both the client and server side if there are a ton of messages to sync. From this point of view, the POP3 protocol is less expensive, although less functional.

      Privacy is also one of the issues that will greatly depend on the end users. They would generally prefer to download all email messages and not leave copies of them on an unknown server.

      Speed ​​is an advantage that varies and depends on the situation. POP3 has the ability to download all mail messages when connected. And IMAP can, if necessary (for example, when there is insufficient traffic), download only message headers or certain parts and leave attachments on the server. Only when the user decides that the remaining parts are worth downloading will they become available to him. Therefore, IMAP can be considered faster.

      However, if all messages on the server must be downloaded every time, then POP3 will be much faster.

      As you can see, each of the described protocols has its own advantages and disadvantages. It's up to you to decide which features or capabilities are more important.

      Also, the desired method of accessing the e-mail client determines the preferred protocol. Users who only work from one machine and use webmail to access their new emails will appreciate POP3.

      However, users who share mailboxes or access their emails from different computers will prefer IMAP.

      Spam firewalls with SMTP, IMAP and POP3

      Most spam firewalls only deal with and protect the SMTP protocol. The servers send and receive SMTP email and these will be checked by the spam firewall on the gateway. However, some spam firewalls provide the ability to protect POP3 and IMAP4 when external users need these services to access their email.

      SMTP firewalls are transparent to end users; There are no configuration changes for clients. Users still receive and send email messages to the email server. Thus, Exchange or Dominos must configure routing of messages to the firewall based on a proxy server when sending email, and also provide the ability to send emails from the firewall.

    Today, when you can easily get any number of free mailboxes by simply registering an account on the services of Yandex, Mail.Ru and the like, such a question as setting up a mail server does not bother too many users.

    However, there are also times when knowing at least some aspects of this issue will be useful.

    When it is needed

    There are not so many situations when basic knowledge of setting up mail is needed by the average user. And yet, any of them can happen at any time:

    • If it was decided to switch from browser-based to dedicated in a separate program. Indeed, in many respects, such clients are preferable: they allow you to combine an email program with an organizer, a notebook, and also more flexibly manage your address book and administer messages.
    • An unexpected failure occurred in the email client and all settings were lost. And then you just need to install a mail server. Setting it up usually does not require much time and effort, but otherwise you can be left without mail for quite a long time.
    • Free mailboxes can be destroyed by the administration, without explanation. And, frankly speaking, such a box looks undignified in the eyes of business partners. Therefore, you will have to create a dedicated one on the server.
    • If your provider offers a separate mailbox, then why not take advantage of this offer.

    Setting up a Windows mail server

    Basic email parameters, such as DNS, IP data and similar information, are issued directly by the provider.

    To start using Windows OS, you will need to either download a client suitable for this operating system, or use the built-in clients. First you need to create a new account. As a rule, they are also asked to enter its name, come up with a password and login.

    You may need to enable support for Windows email services through the Uninstall/Add Programs panel in the E-mail Services component installation section.

    To create a new mailbox, you will need to come up with a username and password.

    In SMTP you must specify the port number 25, and for the POP3 server - 110. If the provider provides other parameters, you must enter them. In the case when the mail client you are using does not require entering a port number, you need to leave only the address issued by the provider in the “Server for incoming messages” (this can be either POP3 or IMAP) and “Name for the server for outgoing messages” ( usually SMTP only).

    Fine-tuning the Windows mail server largely depends on the mail application used, but the principle of operation will be the same. The difference may be in the GUI options and menu options.

    Switching from free email to a dedicated client

    Sometimes you need to stay on the free version but use a separate application as a client. You can show this using the example of mail settings for the Yandex service. The mail server will then be configured with the following parameters.

    1. IMAP settings for incoming messages:

    • mail server address: imap.yandex.ru;
    • SSL should be specified in the security settings for the connection;
    • The port number is 993.

    2. To configure outgoing messages via IMAP:

    • specify smtp.yandex.ru as the server address;
    • You must also set SSL in the connection security parameters;
    • The port number should be set to 465.

    3. Regarding the POP3 protocol for sent messages:

    • specify pop.yandex.ru as the server address;
    • SSL is specified as the security parameters of the connection used;
    • The port number is 995.

    4. For outgoing messages sent via POP3:

    • smtp.yandex.ru is indicated as the mail server address;
    • in the security parameters for the connection used, SSL is again indicated;
    • The port number is set to 465.

    As a username, as well as an address and password, you should set already existing addresses and passwords from mail on Yandex.

    Setting up the Mail.Ru server

    Sometimes you need to find out about the settings of the Mail.Ru mail server. In general, the setup looks exactly the same as described in the case of Yandex mail. But the parameters will look like this:

    • full email address (in @ format, e.g. [email protected]);
    • for the IMAP server imap.mail.ru is specified;
    • for the SMTP server, specify smtp.mail.ru;
    • the username is the full email address from an existing mail;
    • password is the mail password used;
    • IMAP: number 993 (for SSL/TLS protocols);
    • POP3: number 995 (for SSL/TLS protocols);
    • SMTP: number 465 (for SSL/TLS protocols);
    • you need to indicate that you want to authorize the server of sent letters, in the authentication parameters - a simple password, without encryption.

    In general, the settings are exactly the same as in the case of Yandex, but only with the addition of the mail prefix. For other free servers, you should set the same parameters, but with the appropriate prefixes.

    As you can see, in general there is nothing complicated in such a matter as setting up a mail server. Even a novice user can cope with this task. But you can be sure that even in the event of a critical failure you will not be left without mail.

    The task of setting up your own mail servers using Linux tools, Apache, SQL and the like requires deeper knowledge in the field of information technology.