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 passWhich 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
- Read the destination's Return-Path on a forward that did arrive (
+caf_confirms Gmail auto-forward). - Send a probe to the source address to check whether forwarding works at all.
- Diff source-mailbox messages against destination by subject+from; the DSN shows up in the missing set right next to the lost message.