Troubleshoot a custom host for your Hub emails
Fix Hub emails that fail to send, bounce, or get blocked.
🧰 What You Will Need
- A Hub
- A custom email host for your hub's emails
- Access to your email host provider
- Access to the DNS records for your sending domain
When you use a Custom Host, your Hub sends email through your own mail provider, using your own domain. Gmail, Outlook and Yahoo now check that your domain has authorized that mail before they accept it. If your domain is missing those records, your Hub's emails can bounce, land in spam, or disappear with no notice to your members. Work through the authentication steps below first, then the provider-specific sections.
Why Gmail and Outlook block mail from a custom host
Three DNS records tell receiving mail servers that your mail is genuine:
| Record | What it proves | Who gives you the value |
|---|---|---|
| SPF | The sending server is allowed to send for your domain | Your mail provider |
| DKIM | The message was signed by your domain and was not altered | Your mail provider |
| DMARC | What a receiver should do when SPF and DKIM fail | You choose the value |
Two separate services are involved, and mixing them up is the most common reason this takes longer than it needs to:
- Your mail provider sends the email and supplies the SPF and DKIM values. This is Google Workspace, Microsoft 365, SendGrid, or whoever runs the mailbox in your Hub's email settings.
- Your DNS host stores the records. This is Cloudflare, GoDaddy, Namecheap, or wherever your domain's nameservers point. A DNS host does not send email and does not generate these values.
DMARC is the exception. You write that one yourself, and the value is the same whatever your mail provider is.
NOTE: Gmail and Yahoo require every sender to pass SPF or DKIM, and require SPF, DKIM and an aligned DMARC record from senders above roughly 5,000 messages a day. Microsoft applies equivalent requirements to Outlook.com. This is a baseline for all senders now, not a penalty applied to your Hub.
Step 1 - Find your SPF and DKIM values
Get these from your mail provider, not from your DNS host.
| Mail provider | SPF value | DKIM |
|---|---|---|
| Google Workspace | v=spf1 include:_spf.google.com ~all |
Generate it in the Google Admin console under Apps > Google Workspace > Gmail > Authenticate email. Use a 2048-bit key. Google gives you a host name of google._domainkey and a TXT value beginning v=DKIM1; |
| Microsoft 365 | v=spf1 include:spf.protection.outlook.com -all |
Two CNAME records, selector1._domainkey and selector2._domainkey, with targets Microsoft shows you in the Defender portal under Email & collaboration > Policies & rules > Threat policies > Email authentication settings |
| SendGrid | Often not needed. SendGrid's domain authentication uses CNAME records that cover SPF for its own sending subdomain. Add include:sendgrid.net to your main SPF record only if SendGrid's own screen tells you to |
Two CNAME records, s1._domainkey and s2._domainkey, with targets SendGrid shows you under Settings > Sender Authentication > Authenticate Your Domain |
WARNING: Your domain may have only one SPF record. If an SPF record already exists, edit it and add the new include: to it. Do not add a second SPF record, because two SPF records make both of them fail.
For a domain that sends through more than one service, combine the includes into a single record, for example v=spf1 include:_spf.google.com include:sendgrid.net ~all.
If your mail provider's own setup wizard shows you a different SPF value for your domain, use the value it shows. Where your registrar manages SPF for you, that value usually combines your provider's include with your registrar's.
Step 2 - Add or edit your DMARC record
DMARC is one TXT record. The host name is _dmarc and the value is the same regardless of your mail provider.
WARNING: Look for an existing _dmarc record before you add one. Some registrars create a DMARC record automatically on a new domain, and GoDaddy sets it to p=quarantine. If a record is already there, edit that record. Two _dmarc records make receivers treat your domain as having no policy at all, so both are ignored and you end up worse off than before. GoDaddy's default record also sends the reports to GoDaddy rather than to you, so change the rua address to one you can read.
Start with monitoring only, and replace the reporting address with one you can read:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
p=none asks receivers to report failures without blocking anything. That is enough to satisfy the requirement for a DMARC record while you confirm that SPF and DKIM are passing.
If the record already on your domain uses p=quarantine or p=reject and your Hub emails are failing now, set it to p=none until Step 5 passes, then raise it again.
WARNING: Do not start at p=quarantine or p=reject on a domain you are still setting up. A stricter policy tells receivers to junk or discard any mail that fails the checks, including your own legitimate mail from any service you have not set up yet. Move to p=quarantine, and later p=reject, only after your reports show SPF and DKIM passing for every service that sends as your domain.
Step 3 - Add the records at your DNS host
The values come from your mail provider. Where you paste them depends on who hosts your DNS. The fields are the same everywhere: a record type, a host or name, and a value.
- Sign in to your DNS host and open the DNS records for your sending domain.
- Add each record from Step 1 and Step 2, matching the type exactly. SPF and DMARC are TXT records. DKIM is a TXT record on Google Workspace and a pair of CNAME records on Microsoft 365 and SendGrid.
- Enter the host name as your provider gives it. Use
@for the domain root where your DNS host asks for a name and the record applies to the domain itself. - Save each record. Leave TTL at its default unless your mail provider asks for something specific. Google asks you to set it to the lowest value available, which makes later changes take effect sooner.
WARNING: Copying a value from your provider can carry invisible characters with it, such as a tab or a line break. Some DNS hosts save those without warning, and the record then does not work even though it looks correct on screen. After saving, check each record with a lookup tool such as MXToolbox and compare the value against what your provider gave you.
Notes for the common DNS hosts:
- Cloudflare: records are under DNS > Records. Leave the proxy status set to DNS only for mail records.
- GoDaddy: records are under My Products > Domains > DNS. GoDaddy appends your domain to the Name field, so enter
_dmarc, not_dmarc.yourdomain.com. - Namecheap: records are under Domain List > Manage > Advanced DNS. Use
@in the Host field for the domain root.
TIP: If your domain's nameservers point somewhere other than where you bought the domain, add the records where the nameservers point. Records added at the registrar have no effect when another service is answering DNS queries for the domain.
Step 4 - Turn on DKIM signing at your provider
Publishing the DKIM record is not enough on its own. Your mail provider has to be told to start signing.
- Google Workspace: return to Apps > Google Workspace > Gmail > Authenticate email and select Start authentication.
- Microsoft 365: return to the email authentication settings and turn DKIM on for your domain.
- SendGrid: return to Sender Authentication and select Verify.
NOTE: Google may report Unable to verify at the moment with a Review SPF value link, even when the SPF record already on your domain does approve Google. This happens when your registrar manages SPF for you. Google's wizard shows the exact value it expects, which on those domains combines Google's own include with your registrar's. Set your SPF record to exactly that value, keep it as a single record, then select Retry.
NOTE: DNS changes can take up to 48 hours to reach every provider, although most take effect within an hour. If your provider cannot find the record, wait and try again before changing the record.
Step 5 - Confirm the records are working
- Send a test email from your Hub to an address you can open, ideally a Gmail address and an Outlook address.
- In Gmail, open the message, then open the three-dot menu and choose Show original. Gmail shows a summary with SPF, DKIM and DMARC each marked PASS or FAIL.
- If any of the three reads FAIL, recheck that record's host name and value at your DNS host.
If you have not added a DMARC record yet, Gmail reports DMARC as FAIL even when SPF and DKIM both pass. That is expected until the record exists, and is not a sign that something else is wrong.
Once all three pass, resend to a member who reported a problem to confirm delivery.
(Gmail) Members are getting a “Server Error” message
Check the following:
- Make sure your Username and Password are correct. Your Username must be the same Gmail address you used to generate the App Password.
- If you recently changed your Gmail password, regenerate your App Password. Google automatically invalidates your app-specific passwords when you change your main Gmail password.
- Generate a new Google app password (see Step 3 of this article), and replace the old one in your Hub's email settings (Hub > Settings > Emails).

- Generate a new Google app password (see Step 3 of this article), and replace the old one in your Hub's email settings (Hub > Settings > Emails).
Once updated, Save your settings and send another test email to confirm everything is working.
Members with Hotmail or Outlook addresses aren't getting emails
Some members may experience deliverability issues due to policy changes on Microsoft's side.
This affects email addresses that end in @hotmail, @outlook, @live or @msn, including country versions such as hotmail.co.uk or outlook.co.nz.
Signs this is affecting your Hub:
- Members with these addresses tell you they didn't get a welcome email, post notification or announcement.
- If you use a Custom Host, bounce notices that say "Message blocked" arrive in your own inbox for these addresses.
What still works: members keep their access to your Hub, and your posts and announcements are still visible in the Community even when the email notification doesn't arrive.
What to do: work through Step 1 to Step 5 above. SPF, DKIM and DMARC are the baseline every sender needs and are worth having in place regardless. On their own they are not a fix for Outlook delivery.
NOTE: Being placed in Junk and being rejected outright are two different problems. Authentication records are what stop a rejection. Whether Outlook files an accepted message in Inbox or Junk depends largely on your domain’s sending history, so a brand-new domain can land in Junk with SPF, DKIM and DMARC all passing, and will usually improve as it builds a sending record.
If your records already pass all three checks and Microsoft addresses still bounce, you may also try a different provider: