Sign in to fill these examples with your own keys. Sign in Start free trial

Tenants

Why extra tenants exist, and what they isolate.

A tenant is a namespace under your team. Extra tenants let a multi-customer app keep one customer's sending apart from another's.

The default tenant

Every team has a default tenant with slug default. It does not appear in the tenant list on Domains & Tenants. Most teams send from it, with as many domains as they need. Customers who send as your domains can share it too, along with its suppression list and SMTP password.

Tenant choices appear on other forms (domains, inboxes, suppressions, and test sends) only once your team has at least one extra tenant.

What an extra tenant isolates

Each extra tenant has its own:

  • Sending domains. A domain belongs to one tenant.
  • SMTP credentials. A credential can only send as its tenant's domains.
  • Inboxes.
  • Suppression list.
  • Webhook endpoints.

Suspend a tenant to stop every domain on it. The rest of your team keeps sending.

Add a tenant

  1. In the sidebar, open Sending → Domains & Tenants, then select Add tenant.
  2. Enter a Name and a Slug. The slug takes lowercase letters, numbers, and hyphens. You pass it as tenant on a send.
  3. Select Add tenant.
  4. On the tenant page, select Add domain to add its sending domains.
  5. Select Issue credential to create an SMTP user for the tenant on a sending-ready cluster. Copy the password from the notice, because it is shown once.

Adding tenants needs the Team Administrator role.

Suspend, resume, or remove a tenant

  • Suspend pauses sending for every domain on the tenant. Resume turns it back on. If our abuse team paused the tenant, Resume is blocked. Open a support ticket instead.
  • Remove deletes the tenant's SMTP users and moves its domains to the tenant you pick. You cannot remove the default tenant.

How to pass tenant on a send, and the errors that follow, are on Setting up PostShiba for multi-tenant apps. API routes are on Tenants.

Stop suppressing hard bounces

By default, a hard bounce adds the address to the tenant's suppression list, and later sends from that tenant skip it. If you send test or verification emails to addresses you have not confirmed, such as your customers' addresses, turn this off on a tenant that sends only that traffic.

Repeated hard bounces lower your sending reputation with mailbox providers. Turn this off only for test or verification traffic, never on a tenant that sends real mail.

PostShiba has no header or per-send option that skips the suppression list, on SMTP or the API. This tenant setting is the only way to stop hard bounces from suppressing.

Turn it off in the dashboard

  1. In the sidebar, open Sending → Domains & Tenants, then select the tenant's name.
  2. On the Bounce suppression card, select Turn off.
  3. In Stop suppressing hard bounces?, select Stop suppressing bounces.

A Bounces not suppressed badge then shows on the tenant page and in the tenant list, and the Suppressions page shows a notice. To suppress hard bounces again, select Turn on on the same card. Every change is written to the access log.

Turn it off with the API

Use a Full access API key.

stop-suppressing-hard-bounces.sh
1curl --fail-with-body -sS -X PATCH \ 2 "https://app.postshiba.com/api/v1/tenants/WbLcFd" \ 3 -H "Authorization: Bearer YOUR_API_KEY" \ 4 -H "Content-Type: application/json" \ 5 -d '{"tenant": {"suppress_hard_bounces": false}}'

Tenant responses include suppress_hard_bounces, which is true by default. Send true to turn suppression back on.

What changes when it is off

  • A hard bounce on the tenant does not add the address to the tenant's suppression list. This applies to SMTP and API sends.
  • PostShiba still records the bounce event and sends it to your webhooks.
  • Spam reports and unsubscribes still suppress the address.
  • Addresses you add or import yourself stay suppressed.
  • Addresses already on the list stay there. Remove them yourself.
  • Soft failures, such as a full mailbox, never suppress, whether the setting is on or off.
  • Other tenants keep suppressing hard bounces.

Send test traffic from its own tenant

Keep your real sends on a tenant that suppresses hard bounces, and send tests from a separate one. Extra tenants have no fee.

  1. Add a tenant for the test traffic, for example with the slug verification.
  2. Add a sending domain to it that your real mail does not use, such as verify.example.com. A domain belongs to one tenant.
  3. Select Issue credential to create an SMTP user for it. REST sends to this tenant need the credential too, and pass "tenant": "verification".
  4. Turn off bounce suppression on this tenant only.

Each tenant has its own suppression list, so a test that hard bounces never blocks real mail from your other tenants. With suppression off on the test tenant, you can also test the same address again.

Next steps