PristineSend.ai
Get started
Domain setup

Custom MAIL FROM

Custom MAIL FROM lets you control the hidden "return path" address that email servers use for bounce handling. Setting it to a subdomain of your own domain improves SPF alignment and is a signal of a mature, well-configured sending setup.

What is MAIL FROM?

Every email has two "from" addresses, and they're different things:

From:aka Header From / Friendly From

The address your recipients see in their inbox. This is what you set in your PristineSend campaign — for example, "Jane at Acme <jane@acme.com>".

MAIL FROMaka Envelope Sender / Return Path

A hidden address used by mail servers behind the scenes. When an email bounces, the bounce notification goes here. If you don't set a custom MAIL FROM, this address is on a PristineSend subdomain by default.

Most recipients never see the MAIL FROM address. But inbox providers check it during SPF authentication, and it affects whether your email passes alignment checks.

Why a custom MAIL FROM matters

SPF checks the MAIL FROM domain, not the From: header domain. By default, when PristineSend sends on your behalf, the MAIL FROM is on a shared PristineSend subdomain. That means:

  • SPF passes — but on PristineSend's domain, not yours.
  • SPF alignment fails — because the MAIL FROM domain doesn't match your From: header domain.

DMARC requires either SPF or DKIM to pass with alignment (matching your From: domain). Since DKIM alignment is already handled by your DKIM setup, SPF misalignment alone doesn't break DMARC — but having both aligned is the gold standard, and removes the "sent via" annotation that some inbox providers show.

Not required, but recommended

Custom MAIL FROM is not required to send email. If you've set up DKIM and DMARC, you can send successfully without it. Add it when you're ready to fully align your sending setup.

Records you'll need to add

Custom MAIL FROM uses a subdomain of your domain — typically bounce.yourdomain.com or mail.yourdomain.com. You'll need two records for it.

MX record

The MX record tells other mail servers where to send bounces for your custom MAIL FROM subdomain. Without it, bounces can't be delivered and some providers will treat your domain as misconfigured.

TypeMX
Namebounce.yourdomain.com
Valuefeedback-smtp.pristinesend.com
Priority10
TTLAuto (or 3600)

SPF record (TXT)

The TXT record authorises PristineSend to send mail from your MAIL FROM subdomain. This is what makes SPF pass for your domain instead of PristineSend's domain.

TypeTXT
Namebounce.yourdomain.com
Valuev=spf1 include:spf.pristinesend.com ~all
TTLAuto (or 3600)

Important: if your root domain (yourdomain.com) already has an SPF TXT record, this subdomain record is completely separate — it won't conflict.

Finding your values in settings

The exact subdomain name, MX target, and SPF include value are shown in your PristineSend settings once you request a custom MAIL FROM domain.

  1. Open Settings → Sending domain.
  2. Under Custom MAIL FROM, click Set up.
  3. Copy the MX and TXT record values and add them to your registrar.
  4. Click Verify once you've saved the records. DNS propagation can take up to 48 hours.
Screenshot placeholder — PristineSend Settings → Custom MAIL FROM

Related guides

Was this page helpful?