Hiya,
This has been bothering me for a while too, so had a play this afternoon and I think I've partially cracked the nut

I have an outstanding issue that hopefully I can get assistance with - the admin user in the groupoffice database is the groupoffice administrator, however when authenticating against imaps this admin user is not the groupoffice administrator. Any thoughts?
Here are the steps I used to sucessfully authenticate against the inbuilt SME users (IMAPS)
Alter either the auth_sources.dist or the auth_sources.inc (or create a new file with the same ownership and privileges as the existing file) to show the following:
$auth_sources[] =
array(
'type' => 'email',
'name' => 'Your Name - any format',
'user_manager' => 'sql',
'proto' => 'imaps',
'domain' => 'fqdn - including servername to match your certificate',
'host' => 'localhost',
'port' => '993',
'ssl' => true,
'novalidate_cert' => true,
'mbroot' => '',
'add_domain_to_username' => false,
'create_email_account' => false,
'auto_check_email' => false,
'groups' => array('Everyone'),
'visible_groups' => array('Everyone'),
'modules_read' => array('email', 'addressbook', 'calendar', 'summary'),
'modules_write' => array()
The last
8 options relate to automatic setup of email checking from inside groupoffice and also to other default options of users so these can be changed to your preference - ie don't play a part in the authentication settings. I want users to setup email in groupoffice manually.
NOTE: If you are editing the existing files make sure that you change the comment fields from the inbuilt - ie currently the auth_sources array that is not commented (/*.....*/) is the one named Group-Office Database
Then edit /opt/groupoffice/config.php and add the name of your auth_sources file to the $config option like:
$config['auth_sources']='/opt/groupoffice/html/name_of_your_edited_auth_source_file';
I am imaging the admin user will also be in this config file, so will come back to this thread if I find a way to link the admin and the groupoffice admin.
Cheers, shell