Hallo Christian,
I am justing testing, so just a basic configuration.
Here my sogo.conf:
{
SOGoProfileURL =
"mysql://sogo:k_Vt1ql8fsP5dVl1X@localhost/sogo/sogo_user_profile";
OCSFolderInfoURL =
"mysql://sogo:k_Vt2P5dVl1X@localhost/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://sogo:k_Vt1ql8dsP5dVl1X@localhost/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL =
"mysql://sogo:k_Vt1dql8sP5dVl1X@localhost/sogo/sogo_alarms_folder";
/* Mail */
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoJunkFolderName = Junk;
SOGoIMAPServer = "localhost";
//GoSieveServer = "sieve://127.0.0.1:4190";
SOGoSMTPServer = "smtp://127.0.0.1";
SOGoMailDomain = acme.com;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = NO;
SOGoMailSpoolPath = /var/spool/sogo;
//NGImap4AuthMechanism = "plain";
//NGImap4ConnectionStringSeparator = "/";
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = sAMAccountName;
UIDFieldName = userPrincipalName;
baseDN = "CN=Users,DC=cn,DC=lan";
bindDN = "[email protected]";
bindFields = (
sAMAccountName,
userPrincipalName
);
bindPassword = q2_l18HfDrtz;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = "ldap://127.0.0.1";
filter = "(objectClass='user')";
MailFieldNames = ("mail");
scope = SUB;
id = directory;
isAddressBook = YES;
passwordPolicy = NO;
}
);
/* LDAP AD/Samba4 example */
/*SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
UIDFieldName = sAMAccountName;
bindDN = "ldapservice,CN=Users,DC=cn,DC=lan";
bindPassword = "qfLDrtz";
baseDN = "CN=Users,DC=cn,DC=lan";
bindFields = (sAMAccountName);
canAuthenticate = YES;
displayName = "Public";
hostname = "ldap://127.0.0.1:389/????!starttls";
filter = "mail = '*'";
id = directory;
isAddressBook = YES;
}
);*/
/* Debug */
//SOGoDebugRequests = YES;
//SoDebugBaseURL = YES;
//ImapDebugEnabled = YES;
LDAPDebugEnabled = YES;
//PGDebugEnabled = YES;
//MySQL4DebugEnabled = YES;
//SOGoUIxDebugEnabled = YES;
//WODontZipResponse = YES;
WOLogFile = /var/log/sogo/sogo.log;
}
No, I don't have OCSAdmin settings, I thought its optional and the
documentation is too confusing.