Article

What HELO Hostname to Use for Email Verification: A Practical Guide

By Unlimited Verifier Team ·

Diagram showing a verifier sending its verify.yourdomain.com EHLO hostname to a recipient mail server, which then accepts or rejects the identity before the mai

Summary

Use a fully qualified domain name you control, such as verify.yourdomain.com, that resolves to your sending IP and has a matching PTR record. Avoid localhost, bare IPs, and provider-default names, because a weak hostname can make valid addresses look invalid.

A verifier's HELO/EHLO hostname should be a fully qualified domain name you control, such as verify.yourdomain.com, that resolves to your sending IP and has a reverse DNS (PTR) record pointing back to that same name. Never use localhost, a domain you don't own, or a provider-generated PTR name. If you run your own SMTP probes, this choice decides whether the receiving server answers your mailbox question or rejects your identity.

Verification differs from sending because a verifier doesn't deliver mail. It opens a session with a recipient's mail server, asks whether a mailbox exists, and disconnects. The receiving server judges the caller within the first few lines. A weak hostname doesn't just get you blocked. It can make valid addresses look invalid, and that is the costlier error.

This guide covers how the HELO name works in a verification probe, which name to choose, how to test it, and how to tell a policy rejection from a dead address. For the full architecture of running your own verifier, see our self-hosted email verifier guide.

Quick answer

What is the HELO/EHLO hostname, and what does a verifier send it for?

The HELO/EHLO hostname is the name a client announces in the first command of an SMTP session. EHLO is the extended form that modern servers expect, and HELO is the original. RFC 5321 says the client should give its fully qualified domain name, and use an address literal such as [203.0.113.10] only when it doesn't have a domain name to offer. See RFC 5321.

A verification probe uses only the first few commands of a session:

Step Client sends Typical server reply What the verifier learns Where the hostname matters
1 TCP connect to port 25 220 banner The MX host is reachable No
2 EHLO verify.yourdomain.com 250 with capabilities Whether the server accepts your identity Yes: identity is checked here
3 MAIL FROM:<probe@yourdomain.com> 250 Whether the sender is acceptable SPF is evaluated against the sender
4 RCPT TO:<target@example.com> 250 or 550 The core signal: does the mailbox exist? Policy blocks often appear here
5 RSET, then QUIT 250, 221 Nothing is sent; no message body No

Step 4 answers the question you care about. Step 2 decides whether step 4 means anything. A server that rejects your identity at EHLO, or refuses RCPT for policy reasons, is answering a question about you, not about the mailbox.

Bottom line: The hostname is the first identity signal a receiving server sees, and every verification result depends on it.

Why does the hostname matter for verification, not just sending?

When you send a campaign, you hand over a full message, and the reputation cost of a bad identity is spread across it. A verifier opens short, unusual sessions to thousands of domains, usually with no human sender behind them. Receiving servers watch that pattern closely.

Many large mailbox providers evaluate connection-level identity before they accept a session. If your EHLO name doesn't resolve back to the connecting IP, you may get a refusal or a generic policy rejection. A naive verifier that treats every 5xx reply as "bad address" then suppresses real customers. That is the false-invalid problem.

Two 550 replies look similar in a quick script but mean different things:

Bottom line: A poor hostname won't cost you a campaign. It quietly corrupts your list by labelling deliverable addresses as dead.

Which hostname should you use?

Use a dedicated subdomain that resolves to one sending IP and has a matching PTR record. The table ranks common options by how a receiving server is likely to read them. These rankings are our assessments based on RFC guidance and common operational practice. No provider has published them as rules.

Option Example Passes FCrDNS? Likely effect on probes Verdict
Dedicated subdomain, A and PTR match verify.yourdomain.com Yes Fewest identity-based rejections Recommended
Server's own hostname with matching PTR mx1.yourdomain.com Yes Works, but shares a name with production mail Acceptable
Bare IP literal [203.0.113.10] Not applicable RFC allows it only without a domain name; many servers weight it low Avoid
Provider-generated PTR name ec2-203-0-113-10.compute-1.amazonaws.com Often fails or looks generic Reads as anonymous cloud traffic Avoid
Machine default name ubuntu-s-1vcpu-1gb Usually fails Not a fully qualified name Never
localhost localhost No Commonly rejected Never
A domain you don't control gmail.com Fails Can be read as impersonation Never
Rotating names per probe a7f3.yourdomain.com, then b2c9… Varies Can look like evasion Never

Why a dedicated subdomain beats your main mail hostname: If a verification IP gets blocklisted or throttled, a dedicated name lets you move probing to a new IP without touching transactional mail. Sharing the production name couples the two reputations.

Can one name serve several IPs? Technically a name can have several A records, but a PTR record is one name per IP. Give each verification IP its own name, and keep the pairing fixed. If you change either half, record why so you can explain it later.

Use this decision sequence:

  1. Count your verification IPs. Each one gets its own name.
  2. Check whether you control its PTR record. If your host lets you set it, make it match the name.
  3. If your provider sets a generic PTR and won't change it, move probing to a host where you can, or use a hosted service that handles identity for you.
  4. Keep the pairing fixed. Don't change a name or IP without a reason you can document.

Bottom line: One dedicated, FCrDNS-consistent name per IP beats any shared, generic or rotating identity.

How do you check forward-confirmed reverse DNS?

FCrDNS means the IP's PTR record returns a name, and that name's A record returns the same IP. Both directions must agree. Google's sender guidelines ask bulk senders to maintain valid forward and reverse DNS for sending IPs, and the same check is a sound baseline for verification hosts.

Run this on the verification host before any probe. It needs dig, which ships in the bind9-dnsutils package on Debian and Ubuntu and bind-utils on RHEL-family systems:

IP=203.0.113.10
NAME=$(dig +short -x "$IP" | sed 's/\.$//' | head -1)
if dig +short A "$NAME" | grep -qx "$IP"; then
  echo "FCrDNS OK: $NAME"
else
  echo "FCrDNS FAIL for $IP (PTR returned: $NAME)"
fi

If you use IPv6, check the AAAA record and the IPv6 PTR the same way. A common failure is a correct IPv4 PTR with no matching IPv6 record. It only shows up on connections that prefer IPv6, so IPv4 tests can pass while real probes fail.

Bottom line: FCrDNS is a two-step test. Run it after every DNS or IP change, not once at setup.

Should the hostname match your SPF record and MAIL FROM address?

Yes, and the reason is specific. RFC 7208 says SPF checks the MAIL FROM domain. When MAIL FROM is the null sender <>, the receiving server checks the HELO identity instead. Some verifiers use a null sender, so for those probes the hostname is the domain being checked.

For verify.yourdomain.com, publish an SPF record on that name that authorises only your probe IP:

verify.yourdomain.com.  TXT  "v=spf1 ip4:203.0.113.10 -all"

Choose your MAIL FROM address carefully:

MAIL FROM choice SPF evaluated against Recommendation
Real address on a domain you control, with SPF authorising the IP Your sender domain Good; keep DMARC aligned
Null sender <> The HELO name Works only if the name has an SPF record that authorises the IP
Real address on a domain you don't own That domain's SPF Don't; you would be sending as someone else
Domain that doesn't exist Fails Avoid

Bottom line: With a null sender, your hostname becomes your SPF identity, so it needs its own SPF record.

How do you set up a verification hostname, step by step?

First confirm that your host can make outbound connections on port 25, since many clouds and residential ISPs block it. Our guide on which cloud providers allow outbound port 25 lists the options.

  1. Pick the name and the IP. For example, verify.yourdomain.com and 203.0.113.10.
  2. Create the A record, then check it:
    dig +short A verify.yourdomain.com
    
    The output should be 203.0.113.10.
  3. Set the PTR record through your host's console or support team, then check it:
    dig +short -x 203.0.113.10
    
    The output should be verify.yourdomain.com.
  4. Run the FCrDNS script from the previous section. It must print "FCrDNS OK."
  5. Publish SPF on verify.yourdomain.com as shown above, then confirm it:
    dig +short TXT verify.yourdomain.com
    
  6. Set the host's name on a systemd machine, which keeps local tools consistent:
    sudo hostnamectl set-hostname verify.yourdomain.com
    
  7. Set the same name in your verifier's configuration. Most self-hosted verifiers expose the HELO or hello name as a setting, so check the documentation for your tool. If you run check-if-email-exists in Docker, set the name in the container configuration rather than relying on the host.
  8. Test the EHLO exchange by hand against a server you are permitted to test with:
    printf 'EHLO verify.yourdomain.com\r\nQUIT\r\n' | nc mx.example-recipient.net 25
    
    Expect a 220 banner, then a 250 response to EHLO.
  9. Run a 500-address pilot across a mix of large providers, small domains and catch-all domains. Tally the reply codes against the table later in this guide.
  10. Set per-domain concurrency and back-off. Don't open many simultaneous sessions to one MX. RFC 5321 suggests waiting up to five minutes for replies to MAIL and RCPT, so keep timeouts generous and limit concurrent sessions.

Bottom line: Each step produces output you can check with a command, so you never have to guess whether the setup is right.

Worked example: what a bad hostname cost one 50,000-address run

The figures below are hypothetical. The arithmetic is worth checking line by line.

Run 1. A team verified 50,000 addresses using its machine's default name, ubuntu-s-1vcpu-1gb, as its EHLO identity. The tool treated every 5xx reply as invalid.

Run 2. After switching to verify.yourdomain.com with a matching PTR and SPF record, the team re-tested only those 4,150 addresses:

Result on retest Count Share of 50,000
Accepted (250) 3,620 7.2%
User unknown (550 5.1.1), genuinely invalid 320 0.6%
Still policy-rejected (550 5.7.x) 210 0.4%
Total 4,150 8.3%

Check: 3,620 + 320 + 210 = 4,150.

What the numbers show:

If you'd rather not run the retest yourself: Unlimited Verifier's Pro plan accepts lists of up to 25,000 emails, so the 50,000 addresses split into two lists of 25,000. Standard verification is unlimited on every plan. If you retest the 4,150 addresses with deep verification, that uses 4,150 of Pro's 25,000 monthly deep verifications and leaves 20,850.

Bottom line: The biggest error here wasn't the hostname. It was treating an identity rejection as proof that the mailbox was dead.

How do you tell an identity rejection from a dead address?

Read the enhanced status code, not the wording. RFC 3463 defines the three-part codes, and reply text varies by provider. The table gives our working interpretation for verification.

Reply Enhanced code Usual meaning Action
250 2.1.5 Recipient accepted at RCPT TO Mark as a Valid candidate, then check for catch-all
550 5.1.1 Bad destination mailbox Mark Invalid and suppress
550 5.7.1 Delivery not authorised; often identity, IP or reputation Mark Unknown; fix identity and retest
450 4.7.1 Temporary refusal, often greylisting Retry later
421 4.7.x Temporary; often rate limiting Reduce concurrency per domain and retry

Catch-all domains accept every address at RCPT TO, so a 250 doesn't prove the mailbox exists. Treat them as Risky. For how catch-all results should be handled, see catch-all email verification.

Bottom line: Only 5.1.1 is a dead mailbox. Everything in the 5.7.x family is a question about your sender, and you need to answer it before acting on the result.

Should you self-host, or use a hosted verifier?

The hostname question only applies if you run your own probes. With a hosted service, the provider controls the probing infrastructure and sets the identity itself. Choosing between the two usually comes down to whether you want to own IP reputation and DNS. If you're comparing options, our best email verification tools overview covers the main categories.

Decision factor Self-hosted verifier Hosted verifier
Who sets the HELO hostname You The provider
Who manages PTR records and IP reputation You The provider
Port 25 and cloud restrictions Your problem to solve Not your concern
Setup effort Often days, including DNS and host support tickets Upload a CSV or call the API
Cost model Infrastructure plus engineering time Subscription; see email verification pricing
Integration Your own scripts CSV upload or email verification API

Self-hosting makes sense when you have engineering capacity, a stable IP with a controllable PTR, and enough volume to justify the upkeep. For the trade-offs, see our pros and cons of open-source email verifiers and email verification server requirements.

Unlimited Verifier is a hosted option. You can sign up for the Free plan, which covers 25 lists a month of up to 150 emails each, plus 750 deep verifications a month. The Pro plan costs $29 a month, or $25 a month billed annually. It allows unlimited lists of up to 25,000 emails each, 25,000 deep verifications a month, and API access of 100,000 emails a month. The API accepts bulk batches of up to 10,000 emails per request. You can upload a CSV or Excel file of up to 10MB, with the email column detected automatically. Results are sorted into Valid, Risky and Invalid, and exported as CSV, Excel or JSON. Standard verification is unlimited on every plan with no per-email fees.

If you want to inspect the probing logic before deciding, the engine is open source at github.com/unlimitedverifier/free-email-verifier. Our source code walkthrough explains what to look for, and the Reacher review covers another open-source option.

For a quick check of individual addresses, the free email checker needs no setup. Once your list is clean, keep it that way with a routine from our email list maintenance best practices.

Bottom line: Self-host if you want to own the identity and the IP. Use a hosted service if you want the list cleaned without running probing infrastructure yourself.

Common mistakes to avoid

Bottom line: Most hostname failures come from skipping the two-way DNS check, or from reading identity rejections as dead addresses.

How we compared (and limitations)

This guide is based on public standards and documentation:

We have not run controlled tests against any mailbox provider's policies, and those policies change without notice. The option rankings and reply interpretations are our assessments, not published rules. The worked example uses hypothetical figures.

For Unlimited Verifier, the 99.5% accuracy figure for deep verification is the company's own stated figure, not an independent benchmark.

Bottom line: Treat the standards as firm and the thresholds as working guidance. Test your own pilot before you scale.

Worked DNS check for verify.yourdomain.com

Check Command Expected result
Forward dig +short A verify.yourdomain.com 203.0.113.10
Reverse dig +short -x 203.0.113.10 verify.yourdomain.com.
Match Compare both results Same name in both directions (FCrDNS passes)
SMTP EHLO verify.yourdomain.com 250 response with capabilities

Frequently asked questions

What is the HELO/EHLO hostname?

The HELO/EHLO hostname is the name an SMTP client announces in its first command. It should be a fully qualified domain name the client controls. Modern servers expect EHLO, which replaces the older HELO command and also advertises extended capabilities.

Can I use localhost as the HELO name?

No. localhost is not a public domain, so receiving servers often treat it as a sign of a misconfigured or spoofed client. Use a dedicated subdomain you control instead, such as verify.yourdomain.com, that resolves to your sending IP.

What is FCrDNS and why does it matter?

Forward-confirmed reverse DNS means the IP's PTR record returns a hostname, and that hostname's A record points back to the same IP. Receiving servers use this check to judge whether your identity is genuine, so mismatches often lead to rejections.

Should the HELO name match my sending domain?

It should be a hostname in a domain you control, and using a subdomain like verify.yourdomain.com is a common practice. It does not need to be your bare domain, but it must resolve correctly in both directions.

Should I rotate HELO names between probes?

No. Rotating names looks suspicious to receiving servers. Use one stable hostname per sending IP so your identity builds consistent history.

What does a 5.7.x reply mean during verification?

A 5.7.x reply is a policy or security rejection, not proof that a mailbox is invalid. Treat it as unknown until you fix your identity, SPF alignment and sending rate, then retest the address.

Does the HELO name affect whether mail gets delivered?

It can. Receiving servers check the EHLO identity early and often use it in reputation decisions, so a poor hostname can affect delivery of real mail from the same IP, not just verification probes.

How do I test my HELO hostname?

Run a manual SMTP session with telnet or openssl to your MX host, send EHLO with your chosen name, and check the reply. Then verify forward and reverse DNS with dig or nslookup to confirm both records match.

Do I need a PTR record if I use a subdomain?

Yes, in practice. The IP's PTR record should return the same subdomain name, and that name should have an A record pointing back to the IP. Without this match, many servers will reject or distrust the connection.

Cut Bounces and Protect Your Sender Reputation With Unlimited Email Verification

Every invalid address you send to hurts your sender reputation and your inbox placement. Verifying your list before each send means fewer bounces, healthier deliverability, and a predictable cost. With Unlimited Verifier, standard verification is unlimited on every plan, with no per-email fees.

Unlimited Verifier checks syntax, domain, MX records and the SMTP mailbox. It also detects catch-all domains and flags disposable and role-based addresses. Export a CSV from your email platform or CRM, upload and verify the list, then re-import the clean results. You can also automate checks with the email verification API.

Free Pro
Price $0 $29/month ($25/month billed annually)
Lists 25 a month, up to 150 emails each Unlimited, up to 25,000 emails each
Deep verifications 750 a month 25,000 a month
API access No Yes (100,000 emails a month)
Result retention 24 hours 30 days

Why teams choose Unlimited Verifier

Unlimited Verifier states 99.5% accuracy for deep verification.

Create a free account and verify your next list before you hit send.

Want to test a single address first? Try the free email checker.