Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Email forwarding breaks SPF (no SRS): how to find and fix it

DLV-063Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

SPF (Sender Policy Framework) is a DNS record listing the servers allowed to send mail for a domain. The receiving server compares the IP address that delivered the message with that list, using the envelope sender (the hidden Return-Path address, not the From line you see).

When a rule forwards a message, for example from leads@yourcompany.com to sales@gmail.com, the forwarding server connects to Gmail from its own IP. It usually keeps the original envelope sender. Gmail then checks the original domain's SPF record, and the forwarder's IP is not in it. Result: SPF fail.

SRS (Sender Rewriting Scheme) fixes this. The forwarder rewrites the envelope sender to its own domain, so SPF is checked against the forwarder's record instead. Forwarders without SRS break SPF every time.

How a forwarding rule breaks SPF
  1. Form or app sends emailSent from an IP listed in your SPF record
  2. Mailbox receives itSPF passes here
  3. Forwarding rule re-sendsNew IP, original envelope sender kept, no SRS
  4. Final inbox checks SPFForwarder IP not in your SPF record
  5. Lead seen by salesSpam folder or rejected

The message is fine when it leaves the sender. SPF fails at the last hop.

Why it costs you leads or sales

Lead notifications, order emails and booking confirmations are often sent to a shared mailbox that forwards to the people who act on them. If the final inbox sees an SPF fail, it may route the message to spam or reject it. Nobody sees the lead, and the form itself looks like it works.

The risk grows when your domain publishes a strict DMARC policy (p=quarantine or p=reject). DMARC passes if either SPF or DKIM passes and aligns with the From domain. A forwarder that breaks SPF and also edits the message (for example adds a footer or subject tag) can break DKIM too, so DMARC fails and the policy is applied.

Where forwarded lead emails end upExample numbers
Where forwarded lead emails end up (example)Inbox (SRS on): 97 emails out of 100; Inbox (no SRS, DKIM intact): 85 emails out of 100; Inbox (no SRS, strict DMARC, DKIM broken): 20 emails out of 10003774978520Inbox (SRS on)Inbox (no SRS, DKIM i…Inbox (no SRS, strict…emails out of 100

Example: illustrative numbers for 100 lead emails sent through a forwarder without SRS, with and without a strict DMARC policy. Real results depend on the receiving provider.

How to check if your site has it

Check whether forwarded mail fails SPF
  1. List your forwarding rules

    Look in your email host (Google Workspace, Microsoft 365, cPanel, your domain registrar's email forwarding) for aliases or rules that send copies to another address. Note which ones receive form, order or booking notifications.

  2. Send a test message through the rule

    Trigger your form or send an email from an outside account to the forwarding address. Use a final inbox you can inspect, such as Gmail.

  3. Open the original headersGmail

    In Gmail, open the message, click the three dots, then Show original. Look at the SPF, DKIM and DMARC lines at the top.

  4. Read the result

    SPF: FAIL or SOFTFAIL with the forwarder's IP, together with DKIM: PASS and DMARC: PASS, means forwarding breaks SPF but DKIM saves you. If DKIM and DMARC also fail, you have a delivery problem to fix now.

  5. Check the Return-Path

    If the Return-Path still shows your original domain, the forwarder is not using SRS. A rewritten address such as srs0=...@forwarder.com means SRS is on.

Example header results (forwarded, no SRS)text
Authentication-Results: mx.google.com;
  dkim=pass header.d=yourcompany.com;
  spf=fail (domain of leads@yourcompany.com does not designate 203.0.113.25 as permitted sender) smtp.mailfrom=leads@yourcompany.com;
  dmarc=pass (p=QUARANTINE) header.from=yourcompany.com

How to fix it

There are three fixes. Pick the first that your setup allows. They are listed from most reliable to least.

Options for forwarded lead email
OptionWhat it doesWhen to use it
Stop forwarding; fetch or share the mailboxThe final user reads the mailbox directly, so no re-sending happensBest choice when you control the mailboxes
Forward with SRSForwarder rewrites the envelope sender so SPF passes against its own domainWhen you must forward to an outside address
Rely on DKIM and DMARCDKIM survives forwarding if the message is not changed, so DMARC passesAs a safety net on top of either option
Fix by email host
  1. Google Workspace

    Use a Gmail routing or alias setup inside Workspace rather than an auto-forward to an outside address, or add the people to a Google Group so they receive the mail from inside the domain.

  2. Microsoft 365

    Use a shared mailbox or a distribution group instead of an external forwarding rule. Microsoft rewrites the sender when it forwards externally, but a shared mailbox avoids the hop.

  3. cPanel or Exim hosts

    Ask your host whether SRS is enabled for forwarders. If not, switch the forwarder to a real mailbox and set up fetching or an IMAP connection in the destination account.

  4. Postfix (self-managed)

    Install an SRS daemon such as postsrsd and point Postfix at it with sender_canonical_maps and recipient_canonical_maps.

Postfix SRS settings (postsrsd)text
# /etc/postfix/main.cf
sender_canonical_maps = tcp:127.0.0.1:10001
sender_canonical_classes = envelope_sender
recipient_canonical_maps = tcp:127.0.0.1:10002
recipient_canonical_classes = envelope_recipient,header_recipient

How to confirm it's fixed

Confirmation checks
  • Send a new test through the same forwarding path.
  • In Show original, DMARC shows PASS.
  • Either SPF passes (with SRS, against the forwarder's domain) or DKIM passes and aligns with your From domain.
  • The Return-Path shows a rewritten SRS address if you enabled SRS.
  • The test message lands in the inbox, not spam.
  • Repeat the test with a Gmail, an Outlook and a Yahoo address as the final recipient if your team uses them.

How to prevent it happening again

Prevention
  • Keep a list of every forwarding rule and what mail passes through it.
  • Prefer shared mailboxes or groups over external auto-forwarding.
  • Keep DKIM enabled for every system that sends as your domain.
  • Publish DMARC with reporting (rua=) and read the reports for forwarding-related failures before moving to p=reject.
  • Re-test after changing email hosts, adding aliases or tightening DMARC.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys and checks that test leads reach the inbox and CRM, but it does not read SPF results from forwarded mail or analyse your forwarding setup.

The kind of tool that fits is an email authentication and DMARC reporting tool. It reads DMARC aggregate reports and shows which sending sources and forwarders fail SPF or DKIM. A free mail-header analyser or a DNS and SPF checker also helps with one-off checks.

Frequently asked questions

Questions people ask

Why does email forwarding break SPF?

The forwarding server re-sends the message from its own IP address but usually keeps the original envelope sender. The final inbox checks the original domain's SPF record, and the forwarder's IP is not listed, so SPF fails.

What is SRS in email?

SRS (Sender Rewriting Scheme) is a method where the forwarder rewrites the envelope sender to an address at its own domain. SPF is then checked against the forwarder's record, which lists its own servers, so it passes.

Will a forwarded email still pass DMARC if SPF fails?

Yes, if DKIM passes and aligns with the From domain. DMARC needs only one of SPF or DKIM to pass with alignment. DKIM usually survives forwarding unless the forwarder changes the signed content.

Why are my forwarded contact form emails going to spam?

A common cause is SPF failing at the final inbox because the forwarder does not use SRS, often combined with a DMARC policy that tells receivers to quarantine failures. Check the original headers of a spam-foldered message to see the SPF, DKIM and DMARC results.

How do I check if my forwarding rule uses SRS?

Send a test through the rule and open the original headers at the destination. If the Return-Path is a rewritten address like srs0=...@forwarder.com, SRS is on. If it still shows your own domain, it is not.

Should I add the forwarder's IP to my SPF record?

No. It weakens your domain's protection, risks hitting the 10-lookup limit, and breaks whenever the forwarder changes IPs. Use SRS, a shared mailbox, or DKIM-aligned DMARC instead.

Is it better to use a shared mailbox than forwarding?

Usually yes. People read the mailbox directly or through a group, so there is no second delivery hop and no SPF recheck from a different IP.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.