Message filtering

Hi,

I was wondering if it's possible to setup ejabberd such that if i send a message to user@host/foo that it doesn't end up at any other resource when foo is offline.

Secondly, but less important, I'm also looking for a way to only allow user_A to send messages to user_B when user_A has user_B added in his roster.

Thanks

Syndicate content