Set up Postmark
Postmark is a strong choice for reliable transactional-style delivery — connect it to Mailrith with a server token, optionally specify a message stream, and configure one webhook endpoint for event tracking.
4 min read
Before you start
Before connecting Postmark to Mailrith, have the following ready in your Postmark account:
- An active Postmark server. Each server in Postmark has its own API token and message streams. Decide which server should back this Mailrith connection before you begin.
- A verified sender signature or domain. The From email you enter in Mailrith must be a verified sender signature, or the domain must be verified in the Postmark server you are connecting to.
- The server API token. This is found in Postmark under your server's settings. Note that this is the server token, not the account-level API token — they are different credentials with different scopes.
Mailrith fields
When creating a Postmark connection in Mailrith, fill in the following fields:
- Server API Token: the token from your Postmark server settings page. This authorizes Mailrith to send through that specific server.
- Stream ID (optional): if your Postmark server uses multiple message streams, enter the stream ID here to route Mailrith emails through a specific stream. Leave blank to use the server's default outbound stream.
- From name: the display name in the recipient's inbox — for example, "Acme Newsletter".
- From email: the email address in the From field. Must match a verified sender signature in the Postmark server.
Postmark setup
- In Postmark, navigate to your server and go to API Tokens. Copy the server token.
- In Mailrith, create a new connection and select Postmark. Enter the server token and optionally a stream ID if you use non-default streams.
- Enter the From name and From email, then save the connection.
- Click Send test email to verify the credentials and confirm email arrives in an inbox.
Webhooks and test send
Postmark sends bounce and spam complaint events to a single unified endpoint. To configure it:
- In Mailrith, open the connection row and click View webhooks. Copy the webhook URL shown.
- In Postmark, navigate to your server, then go to Webhooks (under the message stream you are using).
- Add a new webhook with the Mailrith URL and enable the Bounce and Spam Complaint event types.
- Save the webhook in Postmark, then send a Mailrith test email to confirm the full setup is operational.
If you use multiple Postmark streams, make sure the webhook is configured on the same stream as the one specified in the Mailrith connection's Stream ID field — events from a different stream will not match Mailrith's expectations.
Need help?
Reach the Mailrith team if you need help planning a workflow or troubleshooting a setup.
Related guides
Connect your email sending provider, configure sender identity, test delivery, and set up webhooks for bounce and complaint tracking.
Compose one-off email campaigns, define the audience with tags and segments, preview the result, and send immediately or schedule for later.
Build timed email series with individual delays, per-email audience filters, draft and publish controls, and step-level engagement analytics.