
You can see the last two entries here have custom names 

if no name is given then it is up to the user's client to find a suitable name 
(e.g. take it from the contact's vcard/profile):


```
[Support Team]
support@example.com
john.doe@example.com

[Development Team]
hardworkingdeveloper@example.net=Joe Coder
other.dev@example.com=Mel
```

define this file path at prosody as `groups_file = "/var/etc/prosody/sharedgroups.txt"`

--

### to emulate @all like ejabberd

you can use the `mod_listuser` https://modules.prosody.im/mod_listusers.html 
to first parse all the users then take that output and parse to the group files ...
of course that must be done each time a new user are registered!

automatic way are the usage of the `mod_roster_allinall` https://modules.prosody.im/mod_roster_allinall.html 
that makes all of these automatically but are not well tested.

