# Bounce and complaint suppression list Remember addresses that **bounced permanently** or reported your mail as spam, and optionally stop sending to them. Off by default. For the primary administrator. ## Prerequisites - For Resend: a full-access API key and a public HTTPS `APP_URL`. - For SES: the IAM policy shown on the SES card ([Amazon SES](provider-ses.md)). ## Turn it on 1. Open **Admin → Email → Deliverability**. 2. Choose a mode. It applies to the whole installation. 3. Connect Resend or SES on the same page. | Mode | Bounces and complaints | Sending | | --- | --- | --- | | Off (default) | Verified and accepted, not saved | Unchanged | | Record only | Saved | Unchanged | | Skip suppressed recipients | Saved | Refused or filtered | The list is **per sending domain**: a complaint about `a.example` does not block that person on `b.example`. ## Where entries come from | Source | How it works | | --- | --- | | Resend | A second webhook (`email.bounced`, `email.complained`) to `/api/provider-events/resend`, with its own secret. Soft bounces (`Temporary`, `Transient`) are ignored; untyped ones count as permanent. | | Amazon SES | SNS topic `mailflare-feedback` to `/api/provider-events/ses?token=…`. Only permanent bounces and complaints. Token, topic and signature are checked. | | Returned bounce emails (Cloudflare and self-hosted sending) | Read only if they name a message sent from that mailbox in the last 30 days, and only for its To, Cc and Bcc addresses (up to 50). The email stays in the mailbox. | ## Confirmed and unconfirmed entries Only **confirmed** entries block sending. | Confirmed from the start | Starts unconfirmed | | --- | --- | | SES events | Returned bounce emails | | Resend events with one recipient | Resend events with several recipients (it does not say which one bounced) | | Manual entries | | An unconfirmed entry becomes confirmed when: - two returned emails that passed DMARC name the address for **different** original messages, or - a confirmed event arrives, or - you press **Confirm**. > **Warning:** A co-recipient knows your message's ID and can forge a bounce. Someone with two of your messages and a DMARC-passing domain could forge both. Review the list. ## What gets blocked In **Skip suppressed recipients** mode: | Path | Result | | --- | --- | | Composer, `POST /api/send`, `POST /api/v1/send` | `422` with `{ "code": "SUPPRESSED_RECIPIENT", "addresses": [...] }`; nothing saved | | JMAP `EmailSubmission/set` | `notCreated`, type `invalidRecipients` | | Scheduled and undo-send mail | Checked again; recipient dropped. Fails if no To recipient is left. | | Calendar invites (`POST /api/calendar/events`) | `422`; the event is not saved | | Auto-replies | Skipped | | System mail (password reset) | Not affected | Saved messages keep all recipients. Dropped addresses appear in the audit log (`email.suppressed_recipients_dropped`). ## Manage the list The Deliverability page shows address, reason, source, event count and last event, with search and a reason filter. - **Remove** deletes an entry; the next message is tried again. A new bounce adds it back. Logged as `deliverability.suppression_removed`. - **Confirm** enforces an unconfirmed entry. Logged as `deliverability.suppression_confirmed`. - A complaint is never downgraded to a bounce. An unconfirmed event never changes a confirmed entry. ## Data Table `email_suppressions` stores the address, reason, source, confirmation, first reporting Message-ID, a short diagnostic (300 characters), counts and times. It is in backups. Settings are in `app_settings`: `suppression_mode`, `resend_events_webhook_id`, `resend_events_webhook_secret`, `ses_feedback`. **The Resend secret is stored as plain text**, so protect backups. ## Troubleshooting | Problem | Cause | Fix | | --- | --- | --- | | Nothing recorded | Mode is Off | Choose another mode | | Address listed but still sent to | Record only, or unconfirmed | Change mode, or **Confirm** | | Good address blocked | Old or forged entry | **Remove** it | ## Related - [Providers](providers.md) - [DMARC reports](dmarc-reports.md)