---
title: "How to Set Up SPF for a QQ Domain with QQ Mail: A Step-by-Step Guide | AutoSPF"
description: "Learn how to set up SPF for a QQ domain with QQ Mail. Follow this step-by-step guide to configure, verify, and improve email authentication."
image: "https://autospf.com/og/blog/how-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide.png"
canonical: "https://autospf.com/blog/how-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide/"
---

Quick Answer

Learn how to set up SPF for a QQ domain with QQ Mail using this step-by-step guide. Discover how to create, publish, and verify your SPF record to improve email authentication, reduce spoofing, and enhance email deliverability.

Share 

[ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F "Share on LinkedIn") [ ](https://twitter.com/intent/tweet?text=How%20to%20Set%20Up%20SPF%20for%20a%20QQ%20Domain%20with%20QQ%20Mail%3A%20A%20Step-by-Step%20Guide&url=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F "Share on X/Twitter") [ ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F "Share on Facebook") [ ](https://reddit.com/submit?url=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F&title=How%20to%20Set%20Up%20SPF%20for%20a%20QQ%20Domain%20with%20QQ%20Mail%3A%20A%20Step-by-Step%20Guide "Share on Reddit") [ ](mailto:?subject=How%20to%20Set%20Up%20SPF%20for%20a%20QQ%20Domain%20with%20QQ%20Mail%3A%20A%20Step-by-Step%20Guide&body=Check out this article: https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F "Share via Email") 

![ QQ Domain with QQ Mail](https://media.mailhop.org/autospf/spf-record-syntax-6321-1786607253947.jpg) 

## Understanding SPF and Why It Matters for a QQ Domain

Sender Policy Framework (SPF) is an [email authentication](https://autospf.com/blog/spf-record-explained-understanding-email-authentication-for-your-domain/) standard that allows a domain owner to specify which mail servers are authorised to send messages on behalf of the domain. When a recipient receives an email, the receiving mail server can check the **domain’s SPF record** in DNS and compare the sending server against the authorised sources.

_If you use QQ Mail to send email from your domain, configuring SPF correctly can help receiving mail systems identify legitimate messages and reduce the risk of unauthorised sources sending mail that appears to come from your domain_.

SPF is particularly important when QQ Mail is used alongside other email services. For example, if your domain also sends messages through a marketing platform, CRM, help desk, or transactional email provider, those services may also need to be included in the same SPF record.

### How SPF protects QQ Mail delivery

When you send email through QQ Mail using your domain, the recipient’s [mail server](https://www.techtarget.com/whatis/definition/mail-server-mail-transfer-transport-agent-MTA-mail-router-Internet-mailer) can check your domain’s SPF record in DNS. The server then evaluates whether the sending source is authorised by the **published SPF policy**.

A correctly configured SPF record helps receiving mail systems distinguish authorised email sources from unauthorised servers attempting to send messages using your domain. This can reduce the [risk of domain spoofing](https://www.securityweek.com/complex-routing-misconfigurations-exploited-for-domain-spoofing-in-phishing-attacks/) and help prevent legitimate messages from failing **SPF authentication**.

_If your domain uses QQ Mail together with other email platforms, those authorised senders should be included in the same SPF record_. Maintaining a single, accurate SPF policy is important for reliable email authentication.

![Spf Record Tester 5222](https://media.mailhop.org/autospf/spf-record-tester-5222-1786607359252.jpg)

## Prerequisites: Accessing QQ Mail and Your Domains DNS Settings

Before creating an SPF record, make sure you have access to both QQ Mail and your [DNS hosting provider](https://en.wikipedia.org/wiki/DNS%5Fhosting%5Fservice). This may be your domain registrar, cloud DNS platform, website host, or enterprise DNS administrator.

You will need:

- Administrator access to your QQ domain [DNS zone](https://www.ibm.com/think/topics/dns-zone)
- Access to your QQ Mail or Tencent enterprise mail settings
- The ability to create or **edit TXT records**
- Knowledge of any other mail providers sending email for the same domain
- A way to test DNS propagation after publishing the record

Before creating an SPF record for a [domain using QQ Mail](https://en.1991421.cn/2026/02/08/implement-custom-domain-email-with-qq-mail/), make sure you have:

- Access to your domain’s DNS management panel
- Access to your QQ Mail or Tencent enterprise mail settings
- Permission to create or edit [TXT records](https://www.cloudns.net/wiki/article/14/)
- A list of all services authorised to send email for your domain
- An SPF checker for validating the published record

![Spf Validator 4141](https://media.mailhop.org/autospf/spf-validator-4141-1786607380450.jpg)

### Confirm whether QQ Mail is your only sender

_If QQ Mail is the only service sending email for your domain, your SPF record can be relatively simple_. If your domain also sends email through a [CRM](https://www.zoho.com/crm/what-is-crm.html), marketing platform, help desk, ecommerce system, or **transactional email provider**, all authorised sending sources should be included in the same SPF record.

Avoid creating [multiple SPF records](https://autospf.com/blog/multiple-spf-records-essential-configuration-for-email-authentication/) for the same domain. A domain should publish one SPF policy containing all authorised sending sources. Multiple SPF records can cause SPF validation errors and prevent receiving servers from correctly evaluating your email authentication policy. Strong [email security](https://autospf.com/) helps protect sensitive information from phishing, malware, and unauthorized access.

![Spf Flattening 8574](https://media.mailhop.org/autospf/spf-flattening-8574-1786607395822.jpg)

## Creating the Correct SPF Record for QQ Mail

For domains that use Tencent enterprise mail/QQ Mail, Tencent documentation provides the following SPF record as an example:

`v=spf1 include:spf.mail.qq.com ~all`

The include:spf.mail.qq.com mechanism authorizes the mail servers covered by Tencent’s SPF policy to send email on behalf of your domain. The \~all mechanism applies a softfail to **other sending sources**.

If your domain already uses other email services, do not create a second SPF record. Instead, combine the **authorized sending services** into the existing SPF policy. For example:

`v=spf1 include:spf.mail.qq.com include:example-mailer.com ~all`

Your domain should have one SPF policy, containing all legitimate sending sources. _Tencent documentation also recommends keeping multiple email-service authorizations within a single SPF record_.

### SPF syntax to use with Tencent QQ

A correct SPF record starts with `v=spf1`, includes authorized senders, and ends with a policy such as \~all or -all.

Common mechanisms include:

- include: ” authorizes another domains SPF policy, such as Tencents QQ Mail SPF domain
- ip4: or ip6: ” authorizes specific IP addresses
- mx ” authorizes mail exchangers listed in [MX records](https://www.cloudns.net/wiki/article/12/)
- \~all ” softfail for unauthorized senders
- \-all ” hardfail for unauthorized senders

_For a QQ domain, the most important part is including the Tencent QQ mail sender reference correctly_. Because Tencent may update its infrastructure, use the SPF value shown in your QQ Mail or **Tencent enterprise mail admin** documentation when available.

![Spf Permerror 8596](https://media.mailhop.org/autospf/spf-permerror-8596-1786607421101.jpg)

## Adding the SPF TXT Record to Your QQ Domain DNS

Once you have the correct SPF value, add it to your DNS zone.

1. Sign in to your [DNS hosting](https://www.expressvpn.com/glossary/dns-hosting/?srsltid=AfmBOoqrvs-njJW34xXDnJAwGT34v7X5uMbVgD9mBpWy6Wq1M9DDPQHl) provider.
2. Open the DNS management area for your QQ domain.
3. Choose to add or edit a TXT record.
4. Set the host/name field to @ if the record applies to the root domain.
5. Paste the SPF value, such as `v=spf1 include:spf.mail.*qq*.com ~all`.
6. Save the record.
7. Wait for [DNS propagation](https://www.cloudns.net/blog/dns-propagation-check-dns-propagation/), which can take minutes or several hours depending on TTL.

If you are **configuring a subdomain**, such as mail.example.com, place the TXT record on that specific hostname rather than the root domain.

![Brad Slavin](https://media.mailhop.org/autospf/images/authors/brad-slavin.jpg) 

[ Brad Slavin ](/authors/brad-slavin/) 

General Manager

Founder and General Manager of DuoCircle. Product strategy and commercial lead for AutoSPF's 2,000+ customer base.

[LinkedIn Profile →](https://www.linkedin.com/in/bradslavin) 

## Ready to get started?

Try AutoSPF free — no credit card required.

[ Book a Demo ](/book-a-demo/) 

Scan Your Domain Now

Instantly scan your domain for DKIM, SPF, and DMARC issues

Check My Domain 

Share this article

[ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F) [ ](https://twitter.com/intent/tweet?text=How%20to%20Set%20Up%20SPF%20for%20a%20QQ%20Domain%20with%20QQ%20Mail%3A%20A%20Step-by-Step%20Guide&url=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F) [ ](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fautospf.com%2Fblog%2Fhow-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide%2F) Copy 

Related Articles

- [ ![SPF Standard](https://media.mailhop.org/autospf/images/2025/11/kitterman-spf-4236.jpg)  10 Reasons The SPF Standard Is Essential For Protecting Your Domain Foundational ](/blog/10-reasons-the-spf-standard-is-essential-for-protecting-your-domain/)
- [ ![AI-based scams](https://media.mailhop.org/autospf/images/2024/08/spf-checker-2003.jpg)  4 ChatGPT and AI-based scams to be wary of in the second half of 2024 Foundational ](/blog/4-ai-and-chatgpt-scams-to-watch-for-in-2024/)
- [ ![BEC attacks](https://media.mailhop.org/autospf/images/2024/02/spf-record-office-365.jpg)  6 Steps to Outplay BEC Attackers Foundational ](/blog/6-steps-to-outplay-bec-attackers/)
- [ ![email security](https://media.mailhop.org/autospf/images/2024/05/sender-policy-framework-office-365.jpg)  7 Myths and Misconceptions about Sender Policy Framework Foundational ](/blog/7-myths-and-misconceptions-about-sender-policy-framework/)

## Related Articles

[  Foundational 17m  10 Reasons The SPF Standard Is Essential For Protecting Your Domain  Nov 20, 2025 ](/blog/10-reasons-the-spf-standard-is-essential-for-protecting-your-domain/)[  Foundational 5m  4 ChatGPT and AI-based scams to be wary of in the second half of 2024  Aug 16, 2024 ](/blog/4-ai-and-chatgpt-scams-to-watch-for-in-2024/)[  Foundational 6m  6 Steps to Outplay BEC Attackers  Feb 2, 2024 ](/blog/6-steps-to-outplay-bec-attackers/)[  Foundational 4m  7 Myths and Misconceptions about Sender Policy Framework  May 31, 2024 ](/blog/7-myths-and-misconceptions-about-sender-policy-framework/)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"AutoSPF","url":"https://autospf.com","description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","publisher":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}}
```

```json
{"@context":"https://schema.org","@type":"BlogPosting","headline":"How to Set Up SPF for a QQ Domain with QQ Mail: A Step-by-Step Guide","description":"Learn how to set up SPF for a QQ domain with QQ Mail. Follow this step-by-step guide to configure, verify, and improve email authentication.","url":"https://autospf.com/blog/how-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide/","datePublished":"2026-08-13T00:00:00.000Z","dateModified":"2026-08-13T00:00:00.000Z","dateCreated":"2026-08-13T00:00:00.000Z","author":{"@type":"Person","@id":"https://autospf.com/authors/brad-slavin/#person","name":"Brad Slavin","url":"https://autospf.com/authors/brad-slavin/","jobTitle":"General Manager","description":"Brad Slavin is the founder and General Manager of DuoCircle, the company behind AutoSPF, DMARC Report, Phish Protection, and Mailhop. He founded DuoCircle in 2014 to solve the SPF 10-DNS-lookup problem at scale and has led the company's growth to 2,000+ customers. Brad's focus is product strategy, customer relationships, and the commercial and compliance side of email authentication (DPAs, SLAs, enterprise procurement) rather than hands-on DNS engineering.","image":"https://media.mailhop.org/autospf/images/authors/brad-slavin.jpg","knowsAbout":["Email Security Strategy","SaaS Product Management","Enterprise Compliance","Customer Success","Email Deliverability Business"],"worksFor":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com"},"sameAs":["https://www.linkedin.com/in/bradslavin"]},"publisher":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.g2.com/products/autospf/reviews"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM"]},"mainEntityOfPage":{"@type":"WebPage","@id":"https://autospf.com/blog/how-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide/"},"articleSection":"foundational","keywords":"","image":{"@type":"ImageObject","url":"https://media.mailhop.org/autospf/spf-record-syntax-6321-1786607253947.jpg","caption":" QQ Domain with QQ Mail"},"speakable":{"@type":"SpeakableSpecification","cssSelector":[".answer-block","h1"]}}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://autospf.com/blog/"},{"@type":"ListItem","position":3,"name":"Foundational","item":"https://autospf.com/foundational/"},{"@type":"ListItem","position":4,"name":"How to Set Up SPF for a QQ Domain with QQ Mail: A Step-by-Step Guide","item":"https://autospf.com/blog/how-to-set-up-spf-for-a-qq-domain-with-qq-mail-a-step-by-step-guide/"}]}
```
