Hello!
I'm looking for mod_rewrite functionality - a module that can hook on XMPP messages and rewrite them based on configuration rules.
It might be usefull to implement custom functionality like Openfire's "Subscription" plugin that automatically accepts or rejects subsription requests.
Or it could minimize waiting time by disabling direct connections by server rules in case of users from different non-interconnected networks who'd like to transfer files via proxy65 service.
You can start looking at
You can start looking at http://www.ejabberd.im/mod_filter
That module supports just "accept/deny a stanza", doesn't support rewritting. But you can write support for modifying the stanzas.