Open Webmail
Developer & API·4 min read

Webhooks & security

Verify Mailgun bounce/complaint webhooks, enforce TOTP 2FA, and configure SSRF, Legal Hold, and security.txt.

Bounce & complaint webhooks

Zinq verifies Mailgun HMAC-SHA256 webhook signatures using MAILGUN_WEBHOOK_SIGNING_KEY and automatically adds bounced or complained recipients to the suppressions table.

POST/api/webhooks/mailgun
Webhook HMAC

Ingests permanent failures and spam complaints to suppress future sends.

Built-in security controls

  • Password changes (POST /api/settings/password) verify the current bcrypt hash and optionally revoke all other sessions.
  • Outbound executable attachments (.exe, .bat, .js, .scr, .vbs) are blocked automatically.
  • External fetches pass through an SSRF guard rejecting private and link-local IP ranges.
  • Vulnerability reporting metadata is served at /.well-known/security.txt.