IOSOR Learn

SMTP Bounce Classification: Hard vs Soft Decision Gate Audit

Audit SMTP bounce codes as terminal or transient before retries corrupt list hygiene. Verify parseable diagnostics and suppression semantics across partner routes.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

A bounce code is only useful when you can classify it before the next send: 5.x.x returns are terminal and must suppress immediately, while 4.x.x returns are transient and must retry inside a bounded window. Run this gate before list hygiene and sender reputation absorb misclassified diagnostics.

Define the hard versus soft gate from the SMTP reply itself

Start with the raw three-digit reply and enhanced status code, not the human text. Map 5.1.x and 5.2.x to terminal suppression, 5.7.x to policy suppression with an appeal path, and 4.x.x to a retry counter. Record the exact code, the receiving MTA, and the timestamp for every attempt. If a route returns only generic 'bounce' with no parseable code, treat that route as audit-failing for this job.

Bound the transient retry window and its state machine

A soft bounce needs a ceiling. Define the retry budget in hours, the maximum attempt count, and the exact transition to terminal on expiry. Persist attempt counters keyed to recipient plus message class so a retry storm cannot reset itself. Audit that DLR or SMTP receipt timestamps advance monotonically and that late receipts after the window close are logged, not applied.

Separate suppression semantics from retry accounting

Suppression is a list decision; retry is a queue decision. Mixing them is the common failure. A hard bounce must write to the suppression store within the same operation, idempotent on recipient hash. A soft bounce must not touch suppression until the window expires. Audit both stores for divergence after a replay run, and confirm that an unsubscribe or STOP event outranks any retry state.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Verify diagnostics quality across partner routes

The same logical failure can surface as a full enhanced code on one route and a truncated status on another. Score each route on code completeness, MRC pass-through, and whether the receiving MTA is identifiable. Prefer routes that preserve the enhanced status code end to end and expose a stable receipt identifier for reconciliation.

Reconcile final state and escalate permanent failures

Every classified bounce must converge on a final state: suppressed, retried to success, or escalated. Audit that the final state is written once and is queryable by recipient and campaign. Reconcile DLR-style receipts and SMTP replies into a single verdict, and flag any recipient stuck between retry and suppression.

Start with IOSOR

Run this audit as a partner-route comparison before you commit volume. Build a test matrix with one hard and one soft address per route, capture raw SMTP replies and receipt identifiers, then score each route on code completeness, suppression semantics, and receipt latency.

Related: PAYG hold before first debit · Wallet stop-lines before production.

IOSOR takeaway

Start with the raw three-digit reply and enhanced status code, not the human text. Reconcile DLR-style receipts and SMTP replies into a single verdict, and flag any recipient stuck between retry and suppression (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers