Gmail import mail from another mailbox. Transferring existing corporate email from the host to Google

The President of Ukraine signed a decree that obliged local providers, including Mail.Ru and Yandex services. Large quantity Ukrainian users used the products of these companies, including mail. And while you'll have to look for alternatives with most other services, you can still use your old mailboxes if you set up forwarding in Gmail.

This guide allows you to transfer your entire correspondence history, receive new letters sent to old addresses, and also send letters from them even from a network of providers that have blocked access to services (you only need access to Gmail). This process does not violate any laws in itself and does not contradict the decree of the President of Ukraine.

What is needed to forward emails?

First, you need to sign up for Gmail if you haven't already. mailbox in this service. If you are using an Android smartphone, the app store Google Play in particular, then you already have mail. For everyone who doesn't have a box or just wants to receive new address, you must go through the registration process on the official website.

It is also worth making sure that you have access to the service from which letters will be forwarded: either find a provider whose services have not yet been blocked, or visit a country where blocking has not been implemented, or use.

How to set up Gmail to work with other mailboxes?

Go to the Gmail web client (you may need to additionally log in to your account), in the window with the list of letters, find the gear at the top right, click on it, and in the drop-down menu go to “Settings”. In the new window at the top, select the “Accounts and Import” tab, in the newly opened set of settings, find the “Send emails as” block and click “Add another email address”:


A new window will open in which you need to enter the address of the mailbox that you plan to connect to Gmail. Next setting up SMTP servers where you don’t need to change anything, since Google automatically pulls up the necessary data for almost everyone postal services(you may not know anything that is completely exotic, in which case you will have to google the necessary parameters). If the address and password are correct, to the specified mailbox a letter will arrive with code and activation link.


How to send letters on behalf of the old address?

In the Gmail web client window, clicking on the “Write” button (top left) will open a window for writing a message; under the “To” field, where the recipient’s address is entered, the “From” item is available, which has a drop-down list. Here you can specify which mailbox the letter should be sent from:

The recipient will see a message from a user with the old address, that is, there is no need to inform the entire contact list about the mail change; for them, the process of corresponding with you does not change in principle. For convenience, in the “Account and Import” settings from the previous paragraph, check the “Reply from the address to which the letter was received” checkbox.

How to import mail and contacts from an old mailbox?

Again, go to the settings (gear at the top right - “Settings” - “Accounts and Import”), there we look for the “Import mail and contacts” block, click “Import mail and contacts”. In a new window, indicate the desired email address and enter the password.


Gmail will analyze the available data, and then offer to import addresses (contacts), all letters available in the mailbox, and provide the option to enable forwarding of all incoming messages for the next 30 days. Last point can be disabled if you plan to constantly receive incoming messages from there; then move on to the next point.

How to receive new letters that will arrive on the old mailbox?

In the already familiar “Accounts and Import” tab, look for the “Receive mail from other accounts” item, click on it. In the new window, enter your mailbox address and select the mail import method: Gmailify or POP3. Always choose the first one, it gives additional features, including Gmail spam filters, automatic folder organization, and improved search. If it turns out that old service does not lend itself to “jimailization”, then settle for POP3.


Ready! It remains to repeat the necessary steps for all mailboxes, if you previously used several, and now want to collect all mail in the same service.

We have prepared for you step by step instructions about how to easily move from Yandex.Mail to Gmail while saving contacts and all existing and future letters.

Transferring letters and contacts from Yandex.Mail to Gmail

Create a Gmail mailbox or use an existing one. You can create email from Google.

To transfer existing emails from Yandex mail to Gmail, follow the instructions:

Enter your Yandex.Mail password.

In the window that opens, select the parameters for import and click “Start Import.”

Importing emails may take up to 48 hours. Imported messages will not appear until the process is complete. But this time is enough to set up redirection.

Forwarding emails from Yandex.Mail to Gmail

Forwarding allows you to automatically send all incoming emails from Yandex.Mail to Gmail.

To enable forwarding:

1. Go to your Yandex mailbox and open the menu Mail→ All settings → Rules for processing incoming mail. Then click "Create Rule".
2. Create a rule exactly as shown in the screenshot.
Pay attention to filling out the “To” and “Coincident with” fields and also check the “Forward to address” box indicating your Gmail address.
Save the changes and confirm with the password:

After that, by postal Gmail account You will receive a forwarding confirmation email. You just need to click on the link in the letter and confirm the operation again.

Success! Now all letters sent to your Yandex mailbox will be automatically redirected to Gmail.

What will you learn to do after watching this video?

You will learn how to change account settings in Gmail; how to import contacts from other mailboxes; how to set up forwarding of letters from Yandex and email to Gmail.

Video description:

In the last lesson we looked at the issue “(general settings, web collections, inbox, etc.)”.

Open "Settings" Gmail and go to the “Accounts and Import” tab.

Item “Change account settings”

By clicking on the appropriate items, you can change the password and password recovery options that you specified when you were.

"Import mail and contacts"

Allows you to move mail and contacts from other mail servers.

Click “Import mail and contacts.” A window opens where you need to enter the mailbox address of another server. Enter it and click “Continue”. Enter the password for the specified mailbox and click “Continue”. Next, check the boxes next to the information that needs to be imported (mail, new letters, addresses, etc.). Click “Start import” and “Ok”.

"Send emails like..."

By default, this is your gmail address. If you have configured the import of letters from other mailboxes, these mailboxes will appear in this section. Then you can select any box from the list. For example, you set up a mailbox with mail.ru and at this point you selected this particular mailbox for a reply. In this case, the person who sent you a letter to mail.ru will receive your response from the mail.ru address, although you will write from gmail.

“Check mail from other accounts (using POP3)”

It is better to configure this function from the mailboxes themselves so that letters are sent correctly.

Forwarding from Yandex

Go to your Yandex mailbox and open “Settings” (at the top of the page on the right). Go to “Rules for processing incoming mail”. Click on the “Create Rule” button. In the “Apply” line, click on the triangle and select what type of email the rule will be applied to. For example, to spam. Select in the box next to “with attachments and without attachments.”

In the “Perform action” item, mark the “Put in folder” option with a dot and select the “Inbox” folder in the next window. After that, click “Create Rule”.

Now we create a rule for all other letters. Click “Create Rule”. Select “apply to all emails except spam”, then “with and without attachments”. In “Perform action”, put a dot in the “Forward to address” item, in the box next to it we enter the address to which the system will forward your letters (we indicate the Gmail mailbox). Finally, click “Create Rule”.

After this, a letter will be sent to Gmail with a link to confirm that mail forwarding from Yandex will work. The letter will contain a confirmation link, click on it with the mouse and you will be taken to the Yandex page. From this page we go to Yandex mail, a page confirming the rule will open, click on the “Enable rule” button on this page. Now it works.

Forwarding from mail.ru

We go to the mailbox on mail.ru, in top line with the commands, click “More”. A drop-down menu will open, select “Settings” from it. In the settings window, click “Filters and forwarding”. There is a triangle next to the Add Filter button. Click on it and click on the inscription “Create forwarding”. In the window that opens, enter the address of the mailbox to which the letters will be sent, and click “Save.” We are not closing Mail.ru!

After this, an email with a confirmation code will be sent to the address where your letters should be forwarded. Open this letter and copy the confirmation code. Click “Reply to email” and send the email. Refresh the page from mail.ru. At the very top of the list there will be a filter for forwarding, and below it the inscription “Confirm”. Click it, a window will open where you need to enter the code from the letter and the password for the mail.ru mailbox.

In the next lesson we will look at how.

In my work, I often deal with mail hosted by different hosting companies. Despite the fact that quite decent money is paid for hosting, the quality of services is many times inferior to “free” mail servers. Not only is there little space for mail, but its accessibility is most often poor. But when I had a problem with mail hosted by the RBC Hosting Center, the number of problems reached such a level that it was decided to switch to some alternative service.

The choice was small - Yandex's "Mail for Domain" or "Gmail for Enterprise".
After some deliberation, a decision was made in favor of Google because:

  1. This is an “Evil Corporation”, and all businessmen are adherents of evil :)
  2. The post office is located abroad, which makes it a little more difficult to gain access to third party mail.
  3. Weight additional services, both standard (Docs, Calendar) and additional.
  4. Connectivity additional features for money (more space, mail routing, etc.).
  5. Ability to create multiple administrators to manage the entire service.
  6. Well-known stability and quality of service.
  7. Still, the Yandex traffic rules are a clone of Gmail for enterprises.

Registration in the system.

Registration in the system is simple. We go to the address www.google.com/a/cpanel/domain/new and enter your domain (without www).

On next page Enter the login and password for the future administrator.

All. Domain added. Now we can log in and configure the service for ourselves, create mailboxes, register MX records in DNS, and confirm rights to the domain.

But we had one big problem. The organization has about 30 boxes, they are constantly used, some even on weekends. Therefore, one of the main tasks was to make the transition process as painless as possible.

Transfer of existing boxes and mail.

Creating boxes.
Google has a convenient function for loading addresses from a CSV table ( Additional tools– Bulk loading).

In Excel or Notepad, create a table of four columns, where the first column is the login, the second is the first name, the third is the last name, and the fourth is the password. Please note that the file must be in windows-1251 encoding (somewhere in the examples a sample file is offered, but it is in UTF-8, such a file will create Russian names with krakozyabl), and the delimiter is a comma. And be sure to indicate your real first/last names, because... this information will then appear in the mail account(I wrote to some accounts “x3” because I didn’t know the data, then I was puzzled when I received a letter from “x3, x3”).

We created such a file and specified passwords for old mailboxes, uploaded the file into the form, the system ate it and said that, depending on the volume, it would process it from several hours to a day. In fact, all the boxes appeared within about thirty minutes.

Mail transfer.
The main part was done, now we had to somehow transfer mail from old mailboxes to new ones and protect employees from problems while using MX records in DNS.

We thought that Gmail has a mail collection feature with which we can connect to our old mail server and pick up mail from there. This would allow us to be on the new one during DNS synchronizations mail interface and have it there old mail and a new one, even if new letters arrive on the old server.

So, we have hard work ahead of us - going into each mailbox and setting up a collection of mail from the old server there. There's nothing to do, let's go.

We log in to the mailbox (https://mail.google.com/a/domain.ru/), at the first login we enter the captcha, we get into the mailbox. Let's go to Settings - Accounts, there we click on the link “Add your mail account”.

And, in theory, we should enter there an e-mail similar to the one we are in, but Google is a corporation that is not only evil, but also cunning, and when we try to enter such an address there, it swears heavily. In principle, this address is used only for visual purposes, so we can safely enter anything there, I just entered the domain with www there, i.e. For example [email protected] . Google withstood this feat and showed a form in which I had already entered the data for collecting mail from this account from the old server. Just in case, the fireman checked the “Save copies” checkbox.

After clicking on the “Add account” button, a trial authorization occurs and if the data is entered incorrectly, you will be asked to correct it. If all is well, the account will be added and mail will begin to be received from it.

After all that has been done, all that remains is to register DNS records on your domain and communicate new mail access settings to all employees. By the way, if employees viewed mail through the web interface, going to a subdomain of the site (for example mail.domain.ru), then you can enter the same address in Google settings ( Service setup – E-mail ) and register the corresponding CNAME record in DNS (after saving the settings, the system will tell you exactly what to register).

For simplicity, you can register in DNS and SMTP with POP3:

  • smtp CNAME smtp.gmail.com
  • pop CNAME pop.gmail.com

Chagrin.

Not without a fly in the ointment. In any company, a situation may arise when you need to have access to an employee’s email without his knowledge. Just an entrance under it account will not help, because It can immediately delete dangerous emails. Previously, for such cases, the hoster’s mail control panel configured forwarding with the desired box to the mailbox of the controlling person, and the employee did not know that mail from his mailbox was going somewhere else. And with Google, this routing function is only available for paid accounts($50 for each user mailbox), that’s understandable;) We got around this problem rather ugly: we went into each mailbox and set up redirection to special address, in which we had already “settled” with filters whose emails should be left for reading and whose should not be looked at, so we also did not give employees access to the web interface - everyone uses email programs.