Skip to content

Gmail auto-forward from a Workspace domain to @gmail.com silently drops some mail: 550 5.7.27 SPF on the +caf_ envelope

TL;DR.

Workspace auto-forwarding sends with envelope <user>+caf_=<dest>=gmail.com@<yourdomain> from Google IPs. If your domain's SPF lacks include:_spf.google.com, gmail.com rejects a subset of forwards (550 5.7.27, bulk-sender rules); most still pass via ARC, so it looks like a few random messages vanish. The bounce lands in the source mailbox's inbox, not the destination.

Symptom

A Google Workspace mailbox (mahmoud@hatnote.com) auto-forwards everything to a personal @gmail.com address. One message never shows up at the destination. It's absent from Spam and Trash and missing from in:anywhere rfc822msgid: too. Meanwhile dozens of other forwards arrive, including mail from the same kind of sender (gmail.com, DKIM/DMARC pass, identical dara=neutral). Forwarding settings show enabled: true, address accepted, and no filter matches.

Cause

Gmail forwards with envelope sender <user>+caf_=<dest>=gmail.com@<workspace-domain>, sent from Google IPs (209.85.220.41). The domain's SPF was v=spf1 ip4:66.96.128.0/18 include:amazonses.com ~all, a leftover from old hosting with no include:_spf.google.com. So every forward is SPF softfail. Most are accepted anyway (destination Authentication-Results show spf=softfail ... arc=pass). A subset gets rejected at SMTP time:

550-5.7.27 Your email has been blocked because SPF authentication didn't pass
550-5.7.27  SPF [hatnote.com] with ip: [209.85.220.41] = did not pass

Which messages get rejected isn't predictable from auth results. Eight were rejected over a month, including human mail; one of them carried a Streak tracking pixel. [INFERENCE: bulk-like signals tip it.]

Where the evidence is

The DSN goes to the +caf_ envelope, which delivers back into the source mailbox inbox as Mail Delivery Subsystem / Delivery Status Notification (Failure), with Final-Recipient: rfc822; <dest>@gmail.com and Status: 5.7.27. It arrives seconds after the original. Search the source mailbox with from:mailer-daemon. Nothing is visible on the destination side.

Fix

Add include:_spf.google.com to the forwarding domain's SPF. Also enable Workspace DKIM (google._domainkey) and publish DMARC so the domain's own outbound mail stops relying on SPF alone.

Debug path that worked

  1. Read the destination's Return-Path on a forward that did arrive (+caf_ confirms Gmail auto-forward).
  2. Send a probe to the source address to check whether forwarding works at all.
  3. Diff source-mailbox messages against destination by subject+from; the DSN shows up in the missing set right next to the lost message.
No signals yet