You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to forward transactional emails to Postmark's SMTP service if the email has a X-PM-Message-Stream header set. I've set up a zone called transactional with routingHeaders like so:
From: "Sender" <[email protected]>
To: "Recipient" <[email protected]>
Subject: This is a test
X-PM-Message-Stream: transactional
I’m sending this mail through Zone MTA.
When I upload this email using the "Upload Message" function of the zmta-webadmin package (which I'm assuming uses the API), it works fine, and is routed to my transactional zone properly. However if I send the exact same message via SMTP using curl, it is always sent through the default zone.
Am I missing something? I set allowRoutingHeaders: [ 'api', 'bounce', 'feeder' ] in the core/default-headers plugin settings, but from what I can gather from reading the source code, that only applies to the X-Sending-Zone header.
Any advice would be appreciated.
The text was updated successfully, but these errors were encountered:
Maybe, I'm using the stock zone-mta-template configuration (just installed it for the first time yesterday). I definitely don't have any custom plugins. I'll try disabling the plugins it comes with installed and see if it makes a difference.
I'm attempting to forward transactional emails to Postmark's SMTP service if the email has a
X-PM-Message-Stream
header set. I've set up a zone calledtransactional
withroutingHeaders
like so:and I'm testing with this email:
When I upload this email using the "Upload Message" function of the
zmta-webadmin
package (which I'm assuming uses the API), it works fine, and is routed to my transactional zone properly. However if I send the exact same message via SMTP using curl, it is always sent through the default zone.Am I missing something? I set
allowRoutingHeaders: [ 'api', 'bounce', 'feeder' ]
in thecore/default-headers
plugin settings, but from what I can gather from reading the source code, that only applies to theX-Sending-Zone
header.Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: