Facebook tracking pixel

MailGenius

Checking Mail Server: A Practical DNS and Inbox Guide

You just finished migrating your outbound email setup, or you pushed out a major campaign right after your IT team confirmed the mail server looked healthy. Port 587 accepted the connection, your sending queue cleared without a bounce, and the dashboard showed a wall of green checkmarks. Then open rates fell off a cliff, and test accounts on Gmail showed your messages sitting in the spam folder.

Most deliverability advice online treats checking mail server health like a quick binary lookup. Plenty of self-proclaimed email gurus tell you to paste your domain into a DNS scanner, confirm three green badges, and hit send. That surface-level approach misses the main reason campaigns fail: mailbox providers don't just evaluate whether your server responds. They judge the entire sending path across every platform, IP address, DNS record, and recipient signal tied to your domain.

Table of Contents

Why a Working Connection Is Not Enough

Say your team runs a connection test on port 587 right before a product launch. The mail server greets you cleanly, negotiates a session, and accepts a test message without throwing an error. An hour later, half the campaign lands in Gmail's spam folder while Outlook drops another chunk.

A professional analyzing a clean SMTP handshake on a computer screen while emails end up in spam.

That gap happens because a clean SMTP handshake only proves the server speaks the transport protocol. The Internet Engineering Task Force's RFC 5321, published in October 2008 as the standards-track specification for electronic-mail transport, defines how servers transfer messages from one host to another. It explicitly notes that SMTP isn't intended for general-purpose address verification or mailing-list subscriber retrieval, and protocol compliance never guarantees inbox placement or protection against spoofing.

Domain security gaps prove how misleading a live connection can be. The 2025 DMARC Adoption Report cited by Infosecurity Magazine found that only 7.7% of the world's top 1.8 million email domains used the strictest DMARC policy, while 52.2% lacked even a basic DMARC record. Millions of active servers pass basic connection checks every day while leaving their domains unverified and exposed to impersonation.

The Three Layers Every Server Audit Covers

Checking a mail server properly means testing three layers together: the SMTP connection, the DNS identity surrounding it, and the authentication and reputation signals receiving filters score. When messages miss the inbox despite a working server, the root cause hides in one of three places:

  • The sending IP address: A dirty reputation, a missing reverse DNS entry, or shared infrastructure history can trigger spam filtering before a receiver even reads your message body.
  • The domain records: Misaligned authentication records, broken MX routing, or bloated SPF policies tell mailbox providers they can't verify who authorized the send.
  • The message itself: Unaligned headers, missing cryptographic signatures, suspicious links, or high recipient complaint rates will bury mail from an otherwise spotless server.

Once you separate server availability from inbox readiness, troubleshooting gets much faster. Every check needs a clear pass signal rather than a vague assumption that "no bounce" equals delivery.

Mail Server Checks and What a Pass Looks Like

A thorough audit starts with concrete pass criteria across transport, DNS, authentication, and reputation. Use the reference table below to measure each component of your sending setup against what receiving servers expect.

Check What It Proves Pass Looks Like Tool or Command
SMTP connection The server accepts sessions 220 greeting and 250 reply to EHLO openssl s_client or telnet on port 587
STARTTLS Mail is encrypted in transit STARTTLS advertised and negotiated openssl s_client -starttls smtp
MX record Mail routes to a live host Resolves to a reachable server dig MX domain +short
Reverse DNS (PTR) The sending IP has a matching hostname PTR resolves back to the same hostname used in HELO dig -x IP +short
SPF record Authorized senders are listed One v=spf1 TXT record, 10 DNS lookups or fewer dig TXT domain +short
DKIM key Messages are cryptographically signed Key published at selector._domainkey and signature passes dig TXT selector._domainkey.domain +short, then Authentication-Results header
DMARC record Policy for failed authentication exists p=none, quarantine or reject, with alignment passing dig TXT _dmarc.domain +short
Blacklists IP and domain reputation is clean Not listed on major blacklists MailGenius Blacklist Checker
Complaint rate Recipients are not reporting spam Below 0.1% of deliveries Postmaster tools and campaign reports

One detail trips up technical teams more than any other: a 250 SMTP reply only confirms that the receiving server accepted responsibility for the message, not that it routed the email to the primary inbox. Per Google's email sender guidelines, mailbox providers enforce valid forward and reverse DNS, TLS encryption, RFC 5322-compliant message formatting, and full authentication checks beyond basic SMTP acceptance. That's why a server table always hands off directly to live message testing.

A passing 250 reply tells you the front desk signed for the package. It does not tell you whether the recipient opened it or dropped it straight into the spam folder.

Prioritizing Checks by Sending Volume

Not every sender faces the exact same bottlenecks on day one. If you're running a bulk sending operation, your essential rows are SPF, DKIM, DMARC alignment, blacklists, and complaint rate. One misaligned sending tool or a sudden spike in spam reports can drag down domain reputation across every campaign you run.

If you're a low-volume sender running transactional alerts or small B2B sequences, focus first on SMTP connection, STARTTLS, reverse DNS (PTR), and at least one core authentication protocol working cleanly. Smaller senders rarely hit volume-based rate limits early, so misconfigured PTR records, expired TLS certificates, or unsigned mail are usually what trigger sudden bounces or junk-folder placement.

Authentication Requirements Most Senders Miss

Mailbox provider rules have turned authentication from an optional security upgrade into mandatory sending infrastructure. Since February 1, 2024, Google's sender guidelines for Workspace require every sender delivering to personal Gmail accounts to authenticate the sending domain with at least SPF or DKIM and maintain valid forward and reverse DNS (PTR) records. Senders delivering more than 5,000 messages per day to Gmail must use SPF, DKIM, and DMARC together, though Gmail allows your DMARC policy to start at p=none while you monitor traffic.

Consider two everyday business scenarios. A local company sending 800 newsletters a day to personal Gmail addresses still needs valid DNS and authenticated mail through SPF or DKIM, even though it sits well below the bulk threshold. By contrast, an e-commerce store sending 6,000 messages a day across promotions and order confirmations needs all three authentication protocols active and passing.

Even teams that publish all three records still run into silent failures. According to Google's sender requirements FAQ, Google began ramping up enforcement against non-compliant traffic in November 2025, leading to spam placement or outright rejection when requirements aren't met. Publishing p=none and seeing a passing static DNS check only confirms that monitoring exists. It doesn't prove that every sending platform in your marketing and sales stack is passing aligned authentication on live mail.

A hand-drawn illustration depicting a post office representing a sending server with email authentication stamps.

Tracing Multi-Vendor SPF Chains and Alignment

Most modern companies don't send email from a single server. Say a growing business uses one platform for newsletters, a second for customer support tickets, a third for billing receipts, and a fourth for outbound sales. Each vendor asks you to paste an include statement into your domain's SPF TXT record, and those vendor records often contain nested include statements of their own.

Because every nested reference counts against SPF's strict 10-lookup ceiling, a record with just four visible vendors can cross the limit and break authentication. To audit the count, run dig TXT on your primary domain, then run dig TXT on each include target listed inside it. Tally every include, a, and mx mechanism across the entire tree, or run your domain through our SPF and DKIM checker to inspect your active records quickly.

Alignment is the final piece often overlooked during a server check. SPF evaluates the hidden envelope MAIL FROM (Return-Path) address, while DKIM verifies the signed d= domain inside the cryptographic header. DMARC only passes when the visible From domain matches at least one passing SPF or DKIM domain. If your newsletter platform passes DKIM under its own shared vendor domain instead of yours, DMARC fails even though the underlying signature is valid.

How to Run the Connection and DNS Checks

Static web checkers are fine for a quick glance, but verifying your mail server directly from a terminal shows you exactly what receiving servers see. The four-step flow below highlights the core DNS and transport checks before you inspect a live message header.

A four-step infographic illustrating the process for running connection and DNS checks for email servers.

Step-by-Step Terminal Verification

Run these seven checks in sequence on your sending domain and outbound IP address (using brightnewsletter.com and 198.51.100.24 as working examples):

  1. Resolve the MX records: Run dig MX brightnewsletter.com +short and confirm every returned hostname points to a live, reachable address. Common slip: testing a secondary backup MX server that never handles your live bulk mail.
  2. Query reverse DNS on the outbound IP: Run dig -x 198.51.100.24 +short to verify that a PTR record exists for the exact IP sending your messages. Common slip: checking your website's IP address instead of the outbound mail server IP recorded in your message headers.
  3. Confirm forward-to-reverse symmetry: Run dig A mail.brightnewsletter.com +short and verify it returns 198.51.100.24. A PTR record alone isn't enough because strict receivers reject mail when the hostname returned by reverse DNS doesn't resolve back to the same IP.
  4. Open an encrypted SMTP session: Connect with openssl s_client -starttls smtp -connect mail.brightnewsletter.com:587, then issue EHLO test.brightnewsletter.com. Confirm the server advertises STARTTLS and presents a valid, unexpired certificate chain matching the hostname.
  5. Inspect the SMTP response codes: Watch the numeric codes returned during the session instead of stopping at a successful socket connection. A 421 reply signals temporary throttling or deferral, while a 554 code means the server rejected your session outright due to policy or reputation.
  6. Check a live received header: Send one controlled test email to an inbox you control, view the raw message source, and inspect the Authentication-Results header. Read the exact spf=, dkim=, and dmarc= verdicts recorded by the receiving provider.
  7. Validate the published DKIM key: Run dig TXT selector._domainkey.brightnewsletter.com +short and confirm it returns a v=DKIM1 string containing a p= public key. Common slip: querying the wrong selector name, so always copy the exact s= tag from your live DKIM-Signature header before running dig.

What a Clean Run Looks Like

On a healthy setup, your MX hosts resolve cleanly, your PTR and A records form an exact loop, TLS negotiates without certificate warnings, and SMTP returns 220 on greeting and 250 on EHLO. Most critical of all, your live Authentication-Results header prints pass across SPF, DKIM, and DMARC with the aligned domain you intend to send from.

If you want to see how DNS lookups and mail routing diagnostics come together in practice, this walkthrough breaks down the core checks visually.

Operator habit: Test the exact platform that sends your campaigns, not just your primary corporate inbox. A passing test from your company webmail tells you nothing about your marketing ESP, CRM, or automated billing tool.

Reading Blacklist and Complaint Signals

A promotional send to 2,000 recipients draws 9 spam reports. Nine complaints sounds minor, yet that campaign sits at a 0.45% spam rate, past the point where mailbox providers tighten filtering on everything else you send. This is the trap of mail server checks that stop at the connection layer: the server answers, TLS negotiates, authentication passes, and the messages still land in junk because recipients are reporting them.

Authentication is baseline infrastructure now. Adoption of SPF, DKIM, and transport encryption is near universal among legitimate senders in the EU and elsewhere, so passing those checks no longer separates you from anyone. Recipient behavior carries the weight in filtering decisions. Google's Workspace sender requirements guidance instructs bulk senders to keep user-reported spam below 0.1% and never let it reach 0.3% or higher. A server can pass every technical check on paper and still get junked if subscribers routinely ignore, delete, or report its campaigns.

That math is why complaint tracking matters more than any single DNS lookup. One bad segment, one stale list, one aggressive promotion, and a modest send crosses the line before anyone on the team notices.

Diagnosing Blacklist Hits Without Panic

When a campaign suddenly drops in opens, check whether your IP or domain landed on a major blocklist using an email blacklist checker. Hold off on submitting a delisting ticket. First, note which specific list flagged you, since a major operator like Spamhaus carries far more weight than an obscure niche list.

Next, read the listing reason carefully and trace the actual root cause. Did a compromised user account blast spam overnight, or did a recent marketing campaign hit recycled spam traps on an old list? Reputable blocklist operators expect proof that you fixed the underlying cause before they honor a delisting request. Ask for removal while the leak is still open and you get relisted within hours, this time with less sympathy from the operator.

Why Aggregated Volume and Provider Splits Catch Teams Off Guard

Two scope traps routinely blindside growing teams during mail server checks:

  • Aggregated primary-domain volume: Gmail calculates its 5,000-message daily threshold across personal Gmail recipients for all mail sharing the same primary domain. If your newsletter tool sends 2,500 emails, your CRM sends 1,800, and your billing system sends 1,200, you've crossed the bulk threshold even though no single platform hit 5,000 on its own. The bulk sender rules then apply to everything from that domain, including the billing receipts.
  • Provider-specific filtering: Passing Gmail's checks doesn't predict how Outlook, Yahoo, or corporate spam appliances will treat your traffic. Segment your delivery metrics by provider, sending domain, IP address, campaign type, and complaint trend, because a problem confined to one provider hides easily inside healthy-looking aggregate numbers.

Even at low volume today, monitor these reputation signals early. Watching complaint trends and blacklist status on small sends lets you spot list fatigue before a major launch burns your domain reputation.

Reputation reality: Clean authentication gets your server past the front gate. Subscriber behavior and complaint discipline decide whether your messages stay in the inbox.

Common Failures and How to Fix Them

When you troubleshoot a broken sending setup, work through symptoms in the order a live send exposes them, and always fix the underlying cause before resending. The visual checklist below maps the most frequent delivery blockers to their immediate technical fixes.

A list of four common email delivery failures and their solutions, presented in a clear infographic.

Fixing Live-Send Failures in Order

Start with SPF permanent errors, which break authentication even when every listed vendor is legitimate. As Google Workspace's SPF troubleshooting documentation explains, the SPF specification permits a maximum of 10 DNS lookups for mechanisms such as include, a, and mx, and nested vendor includes count toward that total. Pull your published record with dig TXT, expand every referenced domain, strip out retired platforms, and consolidate sending tools until your lookup count sits at 10 or fewer.

Next, check for DMARC failing while DKIM passes. Open a received message's Authentication-Results header and compare the Return-Path domain against the visible From address. When a third-party vendor sends using its own default Return-Path domain, configure a custom Return-Path in that platform's settings and align the DKIM d= signing domain with your From domain.

If your tests fail earlier at the transport or server-identity layer, address infrastructure blocks directly:

  • Port 25 timeouts: Most cloud hosts and ISPs block outbound port 25 by default to stop spam. Move client and application submission to port 587 with STARTTLS (or ask your host to lift the port 25 restriction for dedicated server-to-server relay).
  • Missing STARTTLS advertisement: This points to a missing, expired, or misconfigured TLS certificate on the mail host. Install a valid certificate covering your mail hostname and enable STARTTLS in your mail transfer agent configuration.
  • Mismatched or missing PTR records: Reverse DNS lives with whoever owns your IP block, not your domain registrar. Update the PTR record inside your hosting provider's console so it resolves to the exact hostname your server announces in EHLO.

When technical checks pass but delivery still suffers, move to reputation and content fixes. For a blacklisted IP, lock down the compromised mailbox or remove the toxic list segment before requesting delisting. For a complaint rate above 0.3%, suppress unengaged subscribers immediately and verify your unsubscribe links work with one click. If messages are accepted cleanly yet still land in spam, run a full spam test on your HTML structure, copy triggers, and links.

Quick-Reference Troubleshooting Matrix

Symptom Likely Cause Fix
SPF permanent error More than 10 DNS lookups through nested includes Remove unused includes and consolidate senders
DMARC fails while DKIM passes Vendor Return-Path on a different domain Set a custom Return-Path and align the DKIM d= domain with From
Connection times out on port 25 Host blocks outbound port 25 Send on port 587 with STARTTLS
STARTTLS not offered Missing or invalid TLS certificate Install a valid certificate and enable STARTTLS
PTR missing or mismatched PTR points to another hostname or none exists Set PTR at the IP owner to a hostname that resolves back to the IP
IP appears on a blacklist Compromised account or past bad campaign Fix the source, then request delisting
Complaint rate above 0.3% Stale list or mismatched content Suppress unengaged contacts and honor unsubscribes
Accepted but filtered to spam Authentication passes, content or links weak Run a spam test and fix triggers and links

Confirm Inbox Readiness Before Your Next Send

Running terminal commands verifies your infrastructure, but you only confirm inbox readiness when a real message clears authentication, reputation, and content filters together. After completing the server and DNS checks on your sending domain and IP, run our free pre-send deliverability test on the MailGenius homepage. MailGenius sends your test email to a unique MailGenius address, runs diagnostics across spam filters, domain authentication, and content structure, and returns a detailed report with data on inbox placement, spam risk, and sender reputation.

You can also pair that check with the MailGenius inbox placement test when you want visibility into how major providers treat your campaign before it reaches your full list.

How to Read Your Diagnostic Report

Don't try to fix every warning at once. Work through your report from the foundation upward so you eliminate hard blockers first:

  • Authentication outcomes first: Verify that SPF, DKIM, and DMARC all pass and align with the visible From domain used by that specific sending platform.
  • Blacklist and server identity second: Confirm your sending IP, domain, and embedded links aren't listed on major blacklists, and verify your reverse DNS matches your HELO hostname.
  • Content and link findings last: Clean up broken URLs, risky link shorteners, or spam-trigger formatting once the server and authentication layers are clean.

Fix the highest-priority error first, then re-test until every item matches the pass signals from your audit. Keep in mind that a clean score is a pre-send snapshot, not a permanent guarantee. Repeat this full check whenever you add a new CRM, switch ESPs, modify DNS records, or notice an unexpected dip in opens.


Ready to verify whether your mail server and campaign are set up for the inbox? MailGenius gives you a free pre-send email spam test that audits your SPF, DKIM, DMARC, reverse DNS, blacklist status, and content triggers in minutes, backed by deliverability expertise from Troy Ericson's team when complex issues need deeper troubleshooting. Run your free email spam test right now on the homepage of MailGenius before your next send goes out.

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today

Run a Free Email Deliverability Test - Send an Email to the Address Below, then Click “See Your Score”:

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today