Postmark
email.postmark
Protects against destructive Postmark API operations like server deletion, template deletion, and sender signature removal.
- 7blocking rules
- 0safe patterns
- 2Critical
- 3High
- 2Medium
[packs]
enabled = ["email.postmark"]Evaluated when a command contains postmark, api.postmarkapp.com.
Blocking rules
Each rule ID is email.postmark:<name>. Use it in allowlists and [policy.rules].
Criticalpostmark-delete-domainDELETE to Postmark /domains removes a domain configuration.
Explanation
Deleting a Postmark domain removes DKIM keys and domain verification. Emails sent from this domain will fail authentication checks, affecting deliverability. Re-verification requires DNS changes and propagation time. Safer alternatives: - GET /domains/{id}: Export domain configuration - Document DNS records before deletion - Verify new domain is working before removing old
Criticalpostmark-delete-serverDELETE to Postmark /servers removes a server configuration.
Explanation
Deleting a Postmark server removes all associated templates, message streams, webhooks, and statistics. All applications using this server's API tokens will fail to send emails. Server tokens cannot be recovered. Safer alternatives: - GET /servers/{id}: Export server configuration - GET /templates: Export all templates first - Create new server and migrate before deleting
Highpostmark-delete-message-streamDELETE to Postmark /message-streams removes a message stream.
Explanation
Deleting a message stream removes all associated statistics, suppressions, and configurations. Applications sending to this stream will fail. Transactional and broadcast streams have different behaviors when deleted. Safer alternatives: - GET /message-streams/{id}: Export stream configuration - Review stream statistics before deletion - Migrate to new stream before deleting old one
Highpostmark-delete-sender-signatureDELETE to Postmark /senders removes a sender signature.
Explanation
Deleting a sender signature prevents sending from that email address. Applications using this sender will fail until a new signature is verified. Re-verification requires confirming the email address. Safer alternatives: - GET /senders/{id}: Document sender configuration - Create and verify new sender before deleting old - Update application configurations first
Highpostmark-delete-suppressionDELETE to Postmark suppressions endpoint removes suppression entries.
Explanation
Removing suppression entries allows emails to addresses that previously bounced, complained, or unsubscribed. This damages sender reputation and may violate anti-spam regulations like CAN-SPAM and GDPR. Safer alternatives: - GET suppressions: Review reason for suppression - Never remove unsubscribe or complaint suppressions - Use email verification services before removing bounces
Mediumpostmark-delete-templateDELETE to Postmark /templates removes an email template.
Explanation
Deleting a Postmark template breaks any email sends referencing that template ID or alias. Applications will receive errors when attempting to send with the deleted template. Template content cannot be recovered. Safer alternatives: - GET /templates/{id}: Export template content first - Create a new template version instead of deleting - Search codebase for template ID/alias references
Mediumpostmark-delete-webhookDELETE to Postmark /webhooks removes a webhook configuration.
Explanation
Deleting a webhook stops event notifications to your application. Bounce, delivery, open, click, and spam complaint notifications will not be received. This affects email analytics and automation workflows. Safer alternatives: - GET /webhooks/{id}: Document webhook URL and events - Set up new webhook before removing old one - Test webhook endpoints before configuration changes