mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Besides Amazon SES, WeKan now takes the bounce and spam-complaint webhooks of the other common sending services, at /api/inbound-email/bounces/<service>, each proven the way that service signs: Mailgun's HMAC-SHA256, SendGrid's ECDSA signature over the raw body, Mandrill's HMAC-SHA1 over the URL and fields, Resend's Svix signature; and for Postmark, Brevo, Mailjet and SparkPost, which do not sign, a password in the webhook address (Basic auth or ?secret=). Each service's events become WeKan's hard, soft, automatic-reply and complaint categories, so the same Admin Panel rules act on them. Bounces -> Other sending services turns each on with its key or password, written only when typed and never shown back; a forged or unsigned request is refused and logged in Problems -> Security. These endpoints, like the SES one, work without WITH_API. Mail systems with no webhook keep working as before: their bounce emails reach WeKan by IMAP and are recognised as delivery status notifications. Thanks to xet7 !