Prompt
How do I set up bounce suppression so I don't keep sending to bad addresses?
Latest observation
Bounce suppression is usually handled by making your sending system stop mailing addresses that repeatedly hard-bounce, and by tracking bounce events so those addresses are automatically suppressed.
Here’s the practical setup:
1) Use a bounce handling feed/webhook
If you send through an ESP or SMTP provider, enable their:
- Bounce notifications
- Webhook/event stream
- Suppression list / blocklist API
This lets your app receive events like:
hard_bouncesoft_bounceblockedinvalidcomplaint
2) Treat hard bounces as immediate suppression
A hard bounce usually means the address is invalid or doesn’t exist.
Best practice:
- On first hard bounce, mark the address as
suppressed = true - Prevent all future sends to that address
- Store:
- reason
- timestamp
- provider bounce code/message
3) Retry soft bounces with limits
A soft bounce can be temporary:
- mailbox full
- server unavailable
- message too large
Best practice:
- Retry a few times
- Keep a counter
- Suppress after a threshold, e.g.:
- 3 soft bounces in 7 days
- or 5 total consecutive delivery failures
4) Maintain your own suppression table
Even if your provider has its own suppression list, keep one in your database.
Example fields:
emailstatus(active,suppressed)bounce_typebounce_countlast_bounce_atsuppression_reasonsource(provider,manual,complaint)
Before every send:
- Check your suppression table
- Check provider suppression list if applicable
- Skip suppressed recipients
5) Process suppression before campaign sends
Your sending job should filter recipients like:
- active subscribers only
- not bounced
- not complained
- not unsubscribed
Example logic:
- If
suppressed = true, do not send - If
bounce_count >= threshold, suppress first, then skip
6) Clean your lists regularly
To reduce bounces:
- validate email at signup
- use double opt-in
- remove typos and obvious invalid addresses
- periodically re-verify stale addresses
- avoid re-importing old purchased lists
7) Watch feedback loops and complaints
Some ISPs send complaint signals, which should also suppress the address immediately.
Complaints are even more serious than bounces.
8) Add auditability
Log why someone was suppressed so you can answer:
- when they bounced
- from which campaign
- what provider said
- whether suppression was automatic or manual
Simple rule of thumb
- Hard bounce: suppress immediately
- Soft bounce: retry, then suppress after a threshold
- Complaint/unsubscribe: suppress immediately
If you want, I can also give you:
- a database schema for bounce suppression,
- a sample webhook handler, or
- an example for a specific provider like SendGrid, SES, Mailgun, or Postmark.