The bridge system currently supports only ejabberd's own API, which runs the script as a daemon and communicates via pipes.
If we add a script that executes a single request via command-line arguments and communicates via exit codes, then the system can be used by a whole bunch of generic software - eg. Dovecot, modulo some small amount of glue code.
The bridge system currently supports only ejabberd's own API, which runs the script as a daemon and communicates via pipes.
If we add a script that executes a single request via command-line arguments and communicates via exit codes, then the system can be used by a whole bunch of generic software - eg. Dovecot, modulo some small amount of glue code.