schedule 16-min read

Gmail “via” Label and DMARC: Why It Shows and How to Remove It

DMARC AI editorial team · Last updated

Why Gmail shows “via” or “on behalf of” next to a sender, how it relates to DMARC alignment and the Sender header, and how MSPs remove it per sender type.

01

Why does Gmail show "via" next to the sender's name?

Gmail shows the "via" label when the domain a message was sent from does not match the domain in the From address. It usually means a third-party platform sent the mail without authenticating it for your domain. You remove the Gmail via label by authenticating that platform with DKIM or SPF on your own domain, so the authenticated domain matches the From domain.

Google explains this on its Gmail Help page Extra info next to sender's name. The page also says recipients cannot remove the label themselves: only the sender can, by fixing authentication. That makes "via" a useful free signal for MSPs (managed service providers). A client who complains that their invoices arrive "via sendgrid.net" or "via mailchimpapp.net" has, in effect, found an unaligned sending source for you.

This article covers the "via" and "on behalf of" labels specifically. For the wider family of warnings, such as question marks and "This message may be spoofed" banners, see email spoofing warnings in Outlook and Gmail. For background on the protocol itself, start with the DMARC guide.

02

Key takeaways

  • Gmail adds "via" when the sending domain does not match the From domain. Google's fix is to authenticate with SPF or DKIM for your own domain and make the From domain match the authenticated domain.
  • "Via" is a display label, not a DMARC result. A message can show "via" and still be delivered, and in most cases the same root cause also means it lacks aligned authentication for DMARC (Domain-based Message Authentication, Reporting and Conformance).
  • "On behalf of" is a different thing. It comes from a delegate sending for someone else, which sets a separate sender identity (the RFC 5322 Sender field). DMARC ignores that field and checks only the From domain.
  • Microsoft 365 has its own "via" tag with a similar rule: it appears when the From domain differs from the DKIM domain or the MAIL FROM domain.
  • For MSPs, aggregate reports show every unaligned source across all clients, which is the list of senders likely to carry a "via" label.
03

What exactly does Google say about the "via" label?

Google says you see "via" and a website name when the domain the message was sent from does not match the domain in the From address. Its example is a message sent through a service on one domain with a From address on another. Google adds that "via" also appears on Google Groups mail from domains with a p=reject or p=quarantine DMARC policy.

Google gives three steps for senders who want the label gone, quoted from the same help page:

  1. "Publish an SPF record that includes the IPs of the vendor or affiliates which send your messages."
  2. Sign messages with a DKIM (DomainKeys Identified Mail) signature tied to your domain.
  3. "Make sure the domain in the "From:" address matches the domain you're using to authenticate your emails."

Step 3 is the one that matters most. Google's page does not spell out which identifier Gmail compares, but its three steps line up with the two identifiers DMARC uses: the SPF domain (the envelope sender, also called MAIL FROM or Return-Path) and the DKIM signing domain (d=). If either of those matches the From domain, the mail is authenticated for that domain. That is the same idea as DMARC alignment, which DMARC alignment explained covers in detail.

Google also states plainly that "You can't remove the "via" next to someone's name" as a recipient. Gmail shows it so users know where messages come from, and warns that a "via" pointing at a program you do not recognise may indicate spam.

04

Is the "via" label the same as a DMARC failure?

No. The "via" label is a cosmetic indicator in Gmail's interface, while DMARC pass or fail is an authentication result written into the Authentication-Results header. They usually share a root cause, which is why fixing one tends to fix the other, but they are not the same check and they do not always agree.

RFC 9989, the current DMARC standard that replaced RFC 7489, defines the Author Domain as the domain in the RFC5322.From header (Section 3.2.2). A message passes DMARC when an SPF-authenticated or DKIM-authenticated identifier aligns with that domain (Section 4.4). Relaxed alignment accepts a shared Organizational Domain, so mail.example.co.uk aligns with example.co.uk. Strict alignment needs an exact match.

Here is how the three concepts compare:

Concept Where it lives What it checks Who sees it
Gmail "via" label Gmail interface, next to the sender name Whether the sending domain matches the From domain Gmail users
DMARC pass or fail Authentication-Results header, aggregate reports Whether SPF or DKIM passes and aligns with the From domain (RFC 9989) Receivers, report recipients
"On behalf of" The receiving client's rendering of the Sender field Whether a separate sender identity differs from the From address Recipients in clients that display it

A practical difference: DMARC with p=none never blocks anything, yet the "via" label still appears for every unaligned stream. So a client at p=none can look "fine" in delivery terms while their customers see "via" on every newsletter. Conversely, a message can pass DMARC through aligned SPF while a DKIM signature from the vendor's own domain also sits on it. Check the header rather than guessing.

How do you check what Gmail actually saw?

Open the message in Gmail on a computer and click the down arrow beneath the sender's name. Google's Check if your Gmail message is authenticated page says a "Mailed by" line with a domain, or a "Signed by" line with the sending domain, shows the message is authenticated. A question mark next to the sender's name means it is not.

For the full picture, use Show original and read the Authentication-Results header. A message that will show "via" typically looks like this:

Authentication-Results: mx.google.com;
       dkim=pass header.i=@sendervendor.example header.s=s1;
       spf=pass smtp.mailfrom=bounces@sendervendor.example;
       dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=example.co.uk
From: Example Ltd <billing@example.co.uk>

Both SPF and DKIM pass, but for the vendor's domain, not the client's. Nothing aligns with example.co.uk, so DMARC fails and Gmail shows the vendor domain after "via". Paste headers like this into the email header analyzer, or follow how to read email headers for a step-by-step walk-through.

05

What does "on behalf of" mean, and how is it different?

"On behalf of" means one person or system sent the message for another, and the receiving client displays both. It is driven by a separate sender identity, not by a mismatch in authentication domains. In standards terms, this is the RFC 5322 Sender field, which is separate from the From field.

RFC 5322 Section 3.6.2 says the Sender field "specifies the mailbox of the agent responsible for the actual transmission of the message." It must appear when From lists more than one mailbox, and should not be used when the author and the transmitter are the same mailbox. A typical delegate message carries both fields:

From: Sarah Jones <sarah@example.co.uk>
Sender: Assistant Name <assistant@example.co.uk>

DMARC deliberately ignores the Sender field. RFC 9989 Section 2.4 lists "Evaluation of anything other than the RFC5322.From header field" as out of scope, and Appendix A.3 explains why: protection should follow what the user sees, and the Sender field is handled inconsistently by mail clients, which makes it unreliable for policy. So an "on behalf of" message passes or fails DMARC purely on whether SPF or DKIM aligns with the From domain.

When does Microsoft 365 show "on behalf of"?

Microsoft 365 shows it when a delegate uses the Send on Behalf permission. Microsoft Learn's Manage permissions for recipients in Exchange Online says the From address of these messages shows "Delegate on behalf of MailboxOrGroup", and replies go to the mailbox or group, not the delegate. Send As, by contrast, gives "no indication that the message was sent by the delegate." If a user has both permissions, Send As is always used.

Microsoft Graph exposes the same split as two properties. Its send mail from another user guide describes sender as the user that actually sent the message and from as the user or group it appears to be from. With Send As, both have the same value.

Gmail can produce the same effect. Google's Send emails from a different address or alias page warns that recipients using Outlook or another service might see From yourname@gmail.com on behalf of othername@otherdomain.com when you send from another address through Gmail.

Does Microsoft 365 have its own "via" tag?

Yes. In Defender for Office 365 anti-phishing policies, the Show "via" tag setting adds a tag such as chris@contoso.com via fabrikam.com in the From box. Microsoft's anti-phishing policies documentation says this happens when the From domain differs from the domain in the DKIM signature or the MAIL FROM address. The fix Microsoft gives is the same idea as Google's: make the DKIM domain or MAIL FROM domain match, or be a subdomain of, the From domain.

06

Which senders trigger the label, and how do you fix each one?

Most "via" labels come from a short list of sender types. The cause is nearly always the same, an authenticated domain that belongs to the platform rather than the client, so the fix is to move authentication onto the client's domain. This table maps each sender type to its cause and fix.

Sender type Why the label can appear Fix
Google Workspace without its own DKIM key Google's default signature does not use the client's domain (usually a gappssmtp.com domain). Mail normally still aligns through SPF, but if SPF is missing or broken, or the message is forwarded, nothing aligned remains Generate a DKIM key per domain in the Admin console, publish it at google._domainkey, click Start authentication
ESP (Mailchimp, SendGrid, Brevo and similar) without custom domain authentication The ESP signs DKIM and handles bounces on its own domain, so Gmail shows the ESP's domain after "via" Complete the ESP's domain authentication so it signs with d= set to the client's domain; optionally add a branded return path for SPF alignment
CRM or helpdesk (Salesforce, Zendesk and similar) The platform sends with the client's From address but authenticates with its own domain Connect the client's domain in the platform's email settings and publish its DKIM records
Forwarding and mailing lists, including Google Groups Forwarding breaks SPF, and list footers or subject tags can break DKIM; Google says Groups mail from p=quarantine or p=reject domains shows "via" Make sure the original sender signs aligned DKIM; for lists, accept the label or the list's From rewriting; see the forwarding guide below
Outlook or Exchange delegate (Send on Behalf) A delegate sends for a mailbox, so a separate sender identity is set and recipients see "on behalf of" Not an authentication fault. Grant Send As instead of Send on Behalf if the client wants no indication

A few notes on the rows that cause the most tickets:

  • Google Workspace. Google's Set up DKIM page gives the path Menu > Apps > Google Workspace > Gmail > Authenticate email, with a 2048-bit option where the DNS host supports it. It says DKIM can take up to 48 hours to start working after you add the record, and that each domain needs its own unique key. Google's current help pages do not name the default signing domain, so treat gappssmtp.com as an observed pattern; gappssmtp.com in email headers covers it in depth.
  • ESPs. Each platform has its own records and screens. Use the provider guides for Mailchimp, SendGrid and Brevo rather than generic steps.
  • SPF alone rarely removes "via" for ESPs. Adding the ESP's include to the client's SPF record does nothing when the ESP uses its own bounce domain as MAIL FROM, because SPF is then checked against the ESP's domain. Aligned DKIM is the dependable fix.
  • Forwarding. This is the one case the client cannot fully fix. Aligned DKIM survives simple forwarding when the body is not changed; mailing lists that alter the message are covered in DMARC and email forwarding and ARC explained.

Why does a delegate's "on behalf of" not need a DNS fix?

Because DMARC only checks the From domain, and a delegate in the same tenant sends through the same infrastructure that already authenticates that domain. If the client's Microsoft 365 DKIM and SPF are set up, a Send on Behalf message passes DMARC normally. The label is a permissions choice: Send on Behalf is designed to show the delegate. Changing it means changing the permission, for example with Set-Mailbox -Identity <mailbox> -GrantSendOnBehalfTo @{Remove="<delegate>"} and granting Send As in its place, after the client agrees that recipients should no longer see who actually sent the mail.

07

How does an MSP clear "via" labels across a client portfolio?

Treat "via" as a symptom and work from aggregate reports, not from screenshots. Every source that Gmail labels "via" is, almost by definition, a source whose SPF and DKIM domains do not match the client's From domain. DMARC aggregate reports list those sources per domain, with volumes, so you can fix them before clients notice.

A repeatable process across tenants:

  1. Publish DMARC with reporting on every client domain, starting at p=none. Under RFC 9989 there is no percentage ramp; the rollout is p=none, then p=quarantine, then p=reject.
  2. List unaligned sources per client. Look for rows where SPF or DKIM passes but for a vendor domain. These are the "via" candidates. Client discovery explains the method.
  3. Sort by sender type using the table above. Workspace DKIM gaps are quick wins; ESPs and CRMs need the client's account access.
  4. Fix authentication on the client's domain, one platform at a time, and log each DKIM selector in the client runbook.
  5. Confirm with a test message to a Gmail mailbox. The label should be gone, and Authentication-Results should show dmarc=pass header.from= with the client domain.
  6. Separate "on behalf of" tickets. These are permission questions for the Microsoft 365 or Workspace admin, not DNS work.
  7. Move to enforcement only after every legitimate source aligns, following how to handle third-party senders.

Google's email sender guidelines add a business reason. Since 1 February 2024, all senders to Gmail must set up SPF or DKIM, and bulk senders of more than 5,000 messages a day must align the From domain with the SPF or DKIM domain. A client whose newsletters carry "via" is likely to fall short of that alignment requirement once their volume grows.

DMARC AI monitors aggregate reports across all client domains and uses AI to classify each sending source, so unaligned ESP, CRM and helpdesk streams appear per client in one view.

08

What should you tell a client who asks about "via"?

Tell them the label is Gmail being transparent, not a sign of hacking, and that it points to a platform that sends as them without proving it. Explain that the fix is a one-time DNS change plus a setting in that platform, and that the same fix improves their DMARC results and their standing with Gmail's sender rules.

Useful phrasing for a non-technical contact:

  • "Gmail shows 'via' because your newsletter tool is sending as you but signing as itself. We'll connect your domain so it signs as you."
  • "'On behalf of' is different: it shows that an assistant sent the email for you. That's a mailbox permission, and we can change it if you prefer."
  • "Your customers can't hide this label on their side. Only we can remove it, by fixing the sending setup."
09

Frequently asked questions

Can I remove "via" from Gmail as a recipient?

No. Google's Gmail Help states that you cannot remove the "via" next to someone's name. The label is controlled by the sender's authentication. Only the sending organisation can remove it, by authenticating its mail with SPF or DKIM for its own domain so that the authenticated domain matches the From address.

Does the Gmail via label mean the email is spam or spoofed?

Not necessarily. "Via" usually means a legitimate platform sent the message without authenticating it for the sender's domain. Google does warn that a "via" pointing to a program you do not recognise might indicate spam. Check the Authentication-Results header to see which domains passed SPF and DKIM before deciding.

Will DMARC p=reject remove the via label?

No. A stricter policy changes what receivers do with failing mail, not how authenticated mail is displayed. Unaligned messages would be quarantined or rejected rather than labelled. The label disappears only when the platform signs with DKIM for your domain or uses your domain for SPF, so authentication aligns with the From address.

Why does Outlook show "on behalf of" for internal emails?

Because a delegate sent the message using the Send on Behalf permission. Microsoft Learn says these messages show "Delegate on behalf of Mailbox" in the From address. It is not an authentication problem. Granting Send As instead removes the indication, since Send As takes precedence when a user holds both permissions.

Does DMARC check the Sender header?

No. RFC 9989 evaluates only the RFC5322.From header and lists anything else as out of scope. Appendix A.3 explains that the Sender field is handled inconsistently by mail clients, so it is unreliable for policy. An "on behalf of" message passes DMARC if SPF or DKIM aligns with the From domain.

Related articles

Related tools

Ready to Implement?

Get authenticated mail moving in minutes: start free, book a guided demo, or talk to the team about your stack.