There was a problem loading the comments.

Setting up an external mail service (Gmail,, etc.)

Support Portal  »  Knowledgebase  »  Viewing Article


If you want to switch the mail service from hosting to an external mail service, for example, Gmail (GSuite/Google Workspace),, Yahoo Mail, Yandex or other, you need to follow a few simple steps.


This article shows an example of setting up Gmail (GSuite/Google Workspace).


1. Switching mail to an external service, you must disable the mail service in the hosting. To do this, log in to the hosting control panel, choose Mail section, then Mail Settings section.


2. Click on the domain name and disable the mail service - Activate mail service on this domain option:


3. Next, you need to make changes to the MX - and TXT-DNS records of your domain. DNS records management (A, MX, CNAME, TXT, etc) is available in the Hosting Control Panel (Plesk), section Websites & Domains - - DNS Settings.


4. You need to remove the existing MX records for your domain:


5. Next, you need to add 5 new MX records (only for Gmail): 1 5 5 10 10


6. Click - Add record button and add the first record from the list:

Repeat the procedure for the remaining 4 MX records.


7. Next, you need to correct the TXT (SPF) record.

Find an entry in the TXT-DNS list which value begins with "v=spf1 ..." and open it to edit.


8. Replace the value of the TXT-DNS entry with the following:

"v=spf1 a mx -all"


9. Apply all the changes made in the domain zone - Update button:


Changes will take effect within 1 hour.

Share via

Related Articles