-
Notifications
You must be signed in to change notification settings - Fork 139
Description
Hello!
I'm working on switching our use of djrill over to anymail with Django 1.8 on python 2.7 (we're working on upgrading to 1.11 and djrill is one of the final packages to go). We handle a lot of inbound messages so, I'm very excited to see this feature coming along :-)
Our current Mandrill setup has a single webhook which handles both tracking and inbound with a single key. As far as I can tell there is no way to have the same key between two different webhooks.
The anymail setup for the feature_inbound branch adds a second URL specifically for inbound and either tracking or inbound views will raise the following exception:
AnymailConfigurationError: You seem to have set Mandrill's *inbound* webhook URL to Anymail's Mandrill *tracking* webhook URL.
So the problem is:
- If we create a second webhook we would have a second key generated resulting in a signature error on one of the endpoints.
- If we use a single endpoint we raise the configuration error.
I'm considering adding a third signal and set of endpoints that handle any event type. I'm happy to submit a pull request for that but before I do it I want to check: is there already another solution in mind?
Thanks!
Jonathan