User Tools

Site Tools


devel:blueprints:mailin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:blueprints:mailin [2009/01/30 10:43]
morten
devel:blueprints:mailin [2009/01/30 10:45]
morten
Line 15: Line 15:
   * The payload will be offered in turn to each registered plugin.   * The payload will be offered in turn to each registered plugin.
     * Once a plugin accepts the payload, MailIn core will not offer it to any other plugin.     * Once a plugin accepts the payload, MailIn core will not offer it to any other plugin.
-    * MailIn core asks the selected ​plugin to authorize the payload. +    * MailIn core verifies that the plugin ​offers its own ''​authorize''​ function. ​ If it doesn'​t,​ MailIn core attempts ​to authorize the payload ​according to global rules
-      * The plugin will check its authorization configuration,​ to see whether the email is allowed to generate an event. ​ Typically, the headers are inspected to find the source of the email.+      * When the plugin offers its own authorize function, this is called.  ​The plugin will check its authorization configuration,​ to see whether the email is allowed to generate an event. ​ Typically, the headers are inspected to find the source of the email.
     * If authorized, MailIn core will ask the plugin to process the payload.     * If authorized, MailIn core will ask the plugin to process the payload.
       * The plugin will process the payload in whatever manner it sees fit, and using the ''​nav.event''​ API, one or more events should be generated and posted to the event queue.       * The plugin will process the payload in whatever manner it sees fit, and using the ''​nav.event''​ API, one or more events should be generated and posted to the event queue.
devel/blueprints/mailin.txt · Last modified: 2009/02/02 12:08 by morten