Domain mail to gmail

The eternal quest for email integration!

To set up domain mail to Gmail, you'll need to follow these steps:

Step 1: Verify your domain

  1. Go to the Google Admin Console (admin.google.com) and sign in with your Google account.
  2. Click on "Domains" and then "Add a domain".
  3. Enter your domain name (e.g., example.com) and click "Add".
  4. Follow the verification process to prove you own the domain.

Step 2: Set up MX records

  1. Log in to your domain registrar's control panel (e.g., GoDaddy, Namecheap, etc.).
  2. Look for the "DNS" or "Domain Name System" settings.
  3. Create a new MX record with the following settings:
    • Name: @ (or leave blank)
    • Type: MX
    • Priority: 1
    • Value: mail.google.com (or alt1.aspmx.l.google.com for redundancy)
  4. Repeat the process for the following MX records:
    • Priority: 5
    • Value: alt2.aspmx.l.google.com
    • Priority: 10
    • Value: alt3.aspmx.l.google.com
    • Priority: 20
    • Value: alt4.aspmx.l.google.com
  5. Save the changes.

Step 3: Set up SPF record

  1. Go back to your domain registrar's control panel.
  2. Create a new TXT record with the following settings:
    • Name: @ (or leave blank)
    • Type: TXT
    • Value: v=spf1 include:_spf.google.com ~all
  3. Save the changes.

Step 4: Set up DKIM record

  1. Go back to your domain registrar's control panel.
  2. Create a new TXT record with the following settings:
    • Name: google._domainkey (or a custom name, but make sure it's the same as the one in your Gmail settings)
    • Type: TXT
    • Value: The DKIM key provided by Google (you can find this in your Gmail settings)
  3. Save the changes.

Step 5: Set up Gmail settings

  1. Go to your Gmail settings (gear icon > See all settings).
  2. Click on "Accounts and Import" > "Check mail from other accounts".
  3. Enter your domain name and click "Next".
  4. Follow the instructions to set up the Gmail account as the primary account for your domain.

Step 6: Test your setup

  1. Send an email from your domain email address to a Gmail account.
  2. Check if the email is delivered successfully.

That's it! If you've followed these steps correctly, your domain mail should now be set up to forward to Gmail.