Well, i spent about 3 hours trying to get it to work. I came close but in the end gave up.
It seems the plugin isn’t working correctly anymore. I found another topic about this very same issue:
And an issue:
After removing the packet filter plugin, installing the an old version, removing that again and installing the new version again and restarting Openfire i finally ended up with this ruleset:
Pass - From: email@example.com To Any Type: MUC Private Message
Pass - From: Any To: Supervisor Group Type: Any
Reject - From: Agent Group To: Any Type: Any
This worked so far that the Agents cannot send each other private chats and the supervisor CAN send chats to the agents BUT the agents CAN NOT send chats back to the supervisor.
If i change rule 3 to From Agent Group To: Agent Group they can send private chats to each other. It’s funny because this setup is even used in the documentation of the Packet Filter plugin (the simpsons example) but it’s not working. I messed a bit with the Presence type so i could make Agents invisible to eachother but that didn’t work.
Also it seems Reject/Drop rules precede Pass rules even if the Pass rules are higher up in the list order.
I’m using Openfire 3.8.0 and Packet Filter 3.0.1