Hello,
In the setup part of egroupware, step 2 - Configuration :
You can choice "Mail" as authentification method.
Pay attention to some parameters just after and all new user will automatically definied in egroupware if imap connection will success.
Regards.