Skip to content

Bounces and suppression

A bounce is the refusal of a message by the destination server. This page explains how FrontEngine classifies refusals, how you find out, and when an address becomes suppressed.

The two moments of a failure

Moment What happens Event
During delivery The destination server answers with an error in the SMTP session itself. MessageDelayed or MessageDeliveryFailed
After delivery The destination accepts the message and later returns a failure notice by email to the return address. MessageBounced

Permanent and temporary failure

Classification uses the destination's SMTP reply:

Destination reply Classification Outcome
2xx delivered MessageSent, status Sent
4xx, or enhanced code 4.x.x temporary (soft) MessageDelayed, status SoftFail; retried
5xx with enhanced code 4.x.x temporary (soft) the enhanced code wins; retried
5xx permanent (hard) MessageDeliveryFailed, status HardFail; not retried

Provider special cases are handled too. For example, Microsoft's hourly limits (5.2.121 and 5.2.122) arrive as 5xx but are treated as temporary, because they stop applying when the hour turns.

Retries

A temporary failure puts the message back in the queue. Attempts are repeated automatically. A deferred attempt produces a MessageDelayed. If the attempts run out without delivery, the message ends in MessageDeliveryFailed with status HardFail.

You do not need to resend a message in SoftFail. FrontEngine takes care of it.

Bounces that arrive by email

Some servers accept the message (250) and only later find out they cannot deliver it. In that case they send a delivery status notification (DSN, RFC 3464) to the message's return address.

On messages sent through a FrontEngine server, the return address is ours (see Custom return path). Therefore:

  • The notice reaches FrontEngine and is matched to the original message by the return address itself, which is unique per recipient.
  • Only delivery reports with Action: failed, and null-sender messages that are not automatic replies, count as a bounce. An out-of-office reply does not mark the message as bounced.
  • The message moves to status Bounced and the MessageBounced event is sent to your webhooks.

You do not receive DSNs by email

For messages sent through a server, FrontEngine does not send a failure notice to the sender's mailbox. The notice is the webhook (MessageDeliveryFailed or MessageBounced) and the message status in the API.

Automatic suppression

Each server has a suppression list: addresses FrontEngine stops trying to deliver to. The goal is to protect the reputation of your domains and of the sending IP addresses, which drops when you keep insisting on addresses that do not exist.

When an address enters the list

Situation Recorded reason
A permanent failure for an address that already had another permanent failure in the previous 24 hours too many hard fails
Retries ran out without a final answer from the destination too many soft fails

A single permanent failure does not suppress the address: it may have been a typo in one message. A second one within a day points to a problem with the address. The same rule applies to bounces that arrive by email.

What happens to a suppressed address

A message to a suppressed address is accepted and held, not refused:

  • the send over SMTP or the API answers with success;
  • the message gets status Held and is not delivered;
  • the MessageHeld event is sent, with details set to Recipient is on the suppression list.

Handle MessageHeld in your system: mark the address as invalid and ask the user to correct it.

When an address leaves the list

  • Successful delivery. A delivery accepted by the destination for that address removes the failure suppression.
  • Expiry. Failure suppressions have a validity period, set per server.
  • On request. If an address was fixed on the recipient's side, ask [email protected] to remove it, naming the server and the address.

Not available yet

There is no API or panel for customers to view or edit the suppression list. Processing of spam complaints (provider feedback loops) and List-Unsubscribe handling are not available either, and there is no complaint event.

How to reduce bounces

  • Confirm the address at signup (double opt-in) before sending recurring messages.
  • React to events: stop sending to addresses with MessageDeliveryFailed, MessageBounced or MessageHeld.
  • Keep SPF, DKIM and DMARC correct. See SPF, DKIM and DMARC.
  • Read the output field of events: it carries the destination server's reply, which usually states the reason for the refusal.

Next steps