SpamAssassin rule

HEADER_FROM_DIFFERENT_DOMAINS

From and envelope sender use different domains

+0.249 points Header test

What HEADER_FROM_DIFFERENT_DOMAINS means

The domain in the From header differs from the envelope sender (Return-Path). Normal for most email services, but it breaks SPF alignment for DMARC.

The rule's description in SpamAssassin: “From and EnvelopeFrom 2nd level mail domains are different”

How to fix it

Set up a custom return-path or bounce domain on your email service (e.g. bounce.yourdomain.com) so both match.

Does your email trigger HEADER_FROM_DIFFERENT_DOMAINS?

Send it to a free test address: we run SpamAssassin, check SPF, DKIM and DMARC and show every rule with a fix.

Open the email spam checker

Related rules

All SpamAssassin rules

Frequently asked questions

What does HEADER_FROM_DIFFERENT_DOMAINS mean?

The domain in the From header differs from the envelope sender (Return-Path). Normal for most email services, but it breaks SPF alignment for DMARC.

How do I fix HEADER_FROM_DIFFERENT_DOMAINS?

Set up a custom return-path or bounce domain on your email service (e.g. bounce.yourdomain.com) so both match.

How many points does HEADER_FROM_DIFFERENT_DOMAINS add?

0.249 points in the default SpamAssassin ruleset (network tests on, Bayes off). A message is treated as spam from 5.0 points. Mail servers can change scores locally.

Start using our email validation software today!

Get 100 validations per month for free