Where you see gappssmtp.com
Usually in one of two places:
- Next to the sender name in Gmail: Alice <alice@example.com> via example-com.20230601.gappssmtp.com
- In the message headers, in the DKIM signature:
DKIM-Signature: v=1; a=rsa-sha256; d=example-com.20230601.gappssmtp.com; s=20230601; ...
Both mean the same thing: the message really was sent through Google Workspace, but Google signed it with its fallback key instead of a key for example.com.
Why it happens
DKIM lets a receiver check that a message came from the domain it claims. Google Workspace does not publish a DKIM key for your domain until an admin generates one. Until then, Gmail still signs every message, using a key under gappssmtp.com that Google controls. The signature is valid, but it is for the wrong domain.
Why you should fix it
- DMARC alignment. DMARC passes only if SPF or DKIM matches your From domain. A gappssmtp.com signature never matches, so a forwarded message that breaks SPF fails DMARC.
- Bulk sender rules. Since 2024 Gmail and Yahoo require senders of more than 5,000 messages a day to sign with their own domain and publish DMARC.
- Trust. "via gappssmtp.com" looks odd to recipients and makes your mail easier to mistake for spoofing.
How to fix it (Google Workspace admin)
- Sign in to the Google Admin console and open Apps > Google Workspace > Gmail > Authenticate email.
- Select your domain and click Generate new record. Keep the 2048-bit key length and the
googleprefix selector, unless your DNS host only accepts 1024-bit keys. - At your DNS host, add a TXT record named
google._domainkeywith the value Google shows (it starts withv=DKIM1; k=rsa; p=). - Wait for DNS to update, then come back to the Admin console and click Start authentication.
- Run the checker above. DKIM should show a key, and new mail will be signed with
d=yourdomain.
While you are in DNS, make sure SPF includes include:_spf.google.com and that you have a DMARC record at _dmarc.yourdomain. The checker reports both.
Test that mail actually sends
DNS only tells half the story. To confirm your Gmail SMTP settings work end to end, run the online SMTP test with smtp.gmail.com on port 587.