Providers
Connecting Postmark: server token and message streams
By mailers.io team Published 5 min read
public/media/blog-postmark-setup-cover.webp Postmark is one of the eleven sending providers you can connect to mailers.io, and it is the only one with a restriction built into the platform. The connection itself is simple. The restriction is about what you may send through it, and it comes from Postmark, not from mailers.io. This guide covers both.
What Postmark is good for here
Postmark is known for transactional mail: receipts, password resets, notices that a person is waiting for. Its terms are strict about that purpose. In mailers.io you can use a Postmark server for campaigns to your own subscribers, for automations, and for mail you send through the API or the SMTP relay. You cannot use it for sequences, because sequences are cold outreach and Postmark’s terms do not allow cold e-mail. The reasoning is explained in why Postmark is refused for cold email.
If you want cold e-mail, connect a different server for it. If you also want Postmark’s good reputation for your transactional mail, connect it as well, and keep the two kinds of mail on separate servers. The summary page is the Postmark integration.
Before you start
You need:
- a Postmark account with a server that is approved to send;
- the server token of that server;
- optionally the account token, if you want mailers.io to create the domain for you;
- a domain you can edit DNS for, and room for it in your plan. Sending domains are limited per plan; see pricing.
Step 1: understand the two tokens
Postmark has two kinds of token and they do different things.
- The server token belongs to one Postmark server. It is what sends mail. mailers.io needs it, and nothing works without it.
- The account token belongs to the whole account. It can create and manage domains. mailers.io uses it only for one job: creating the sending domain and its DKIM in your Postmark account, so you do not have to.
The account token is optional because it is the more powerful of the two. If you would rather not hand it over, leave it out and add the DNS records yourself, as in step 3. Both tokens are sealed before they are stored and are write-only; you can replace them, but not read them back.
Step 2: connect the server
Open Sending, then Servers, and add a server. Choose Postmark and fill in:
- A name you will recognise in logs and reports.
- Server token.
- Account token (optional).
- Broadcast stream name. It defaults to
broadcast. Change it only if your Postmark server uses a different name for its broadcast stream. - Speed limit (optional).
Run Test connection. It makes a read-only call to your Postmark server and sends nothing. A failure usually means the token belongs to a different server or has a stray space.
Step 3: authenticate the domain
Postmark sends from a domain whose signature it can check. Open Sending domains, add your domain and choose the Postmark server.
- With the account token, mailers.io creates the domain and its DKIM in your Postmark account and shows the DNS records. Publish them and use the verify button.
- Without it, add the sender signature or domain in Postmark yourself, copy its records, and publish them at your DNS host. Then verify in mailers.io.
Postmark signs with the keys of that domain, and mailers.io does not sign the message again. DNS needs time to spread. If you want the background on what the records do, SPF, DKIM and DMARC explained is the place.
Step 4: streams, so the mail goes to the right place
Postmark separates mail into message streams, and it treats the streams differently. mailers.io picks the stream for each message:
- Mail sent through the API or the SMTP relay goes on the default stream.
- Campaigns and automations go on the broadcast stream.
This split matters because it keeps your transactional stream clean. A bulk campaign that draws complaints will not drag down the stream your password resets use. Check that the stream name you entered matches the one on your Postmark server.
Step 5: bounces and complaints
When you save the server, mailers.io registers a webhook in Postmark. It protects the webhook with a Basic secret that the platform creates, so only Postmark’s calls are accepted. Delivery, bounce and complaint events then flow back on their own.
A hard bounce or a complaint puts the address on your suppression list. It is not mailed again. A soft bounce counts toward the soft-bounce limit. Suppressed recipients are never charged a credit.
Step 6: what the refusal looks like
Try to add a Postmark server as a sequence sender and mailers.io refuses it. Nothing is wrong with your connection. It is the rule. A campaign, an automation and an API call on the same server keep working.
If a sequence step ever needs to send and its only servers are Postmark, it cannot. Connect another server for sequences, and let routing keep the two kinds of mail apart.
Speed and warm-up
Postmark has its own sending allowance and its own review of new accounts. Put a speed limit on the server that sits under what Postmark allows you, and ramp volume on a schedule with warm-up when the domain is new. Warm-up pauses on its own if bounce or complaint rates cross its thresholds. It does not guarantee a reputation.
What mailers.io does not do for Postmark
It does not raise your Postmark limits. It does not use Postmark’s templates or its own tracking: opens and clicks come from mailers.io. It will not send cold sequences through Postmark, and it will not hide that fact. And it does not give you a shared IP pool, because your mail goes out through your own account.
For a second server to fall back on when Postmark is unavailable, see the single point of failure post.
Postmark checklist before the first campaign
- The server token is saved and the connection test passes.
- The domain is verified, either through the account token or by hand.
- The broadcast stream name matches your Postmark server.
- A test message to your own address shows a delivery event in the log.
- A speed limit is set under your Postmark allowance.
- Sequences use some other server, never this one.
If all six are true, the server is ready for campaigns, automations and API mail.
Questions and answers
Why can't I use Postmark for sequences?
Postmark's terms do not allow cold e-mail, so mailers.io refuses a Postmark server as a sequence sender. Campaigns, automations and API mail still work.
Do I need the account token?
No. It only lets mailers.io create the domain and DKIM in your Postmark account. Without it you add the DNS records by hand.
Which streams are used?
API mail uses the default stream. Campaigns and automations use the broadcast stream, named broadcast by default.
Does Postmark have regions?
No. It is a single global service, so there is no region to choose.
Written by the mailers.io team. Published .