Hi,

"Hanns Mattes" (ha...@hannsmattes.de) <users@sogo.nu> schrieb:

>[can't add identity or second imap-account]

Upgrading to 5.5.0 (as expected) didn't help. It's not a main concern,
but I don't like it, if things doesn't work as expected :-) - so any
help appreciated.

I can add an identity, if it's got the same name and E-mail-address as
the main account (obviously not very useful), so it's probably related
to the setup of my user source.

Here's my configuration:

MySQL4Encoding = "utf8mb4";

SOGoProfileURL = 
"mysql://sogo:Strenggeheim@localhost:3306/sogo/sogo_user_profile";
OCSFolderInfoURL = 
"mysql://sogo:Strenggeheim@localhost:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL = 
"mysql://sogo:Strenggeheim@localhost:3306/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL = 
"mysql://sogo:Strenggeheim@localhost:3306/sogo/sogo_sessions_folder";
OCSCacheFolderURL = 
"mysql://sogo:Strenggeheim@127.0.0.1:3306/sogo/sogo_cache_folder";
OCSStoreURL = "mysql://sogo:Strenggeheim@127.0.0.1:3306/sogo/sogo_store";
OCSAclURL = "mysql://sogo:Strenggeheim@127.0.0.1:3306/sogo/sogo_acl";

WOWorkersCount = 15;

  /* Mail */
  SOGoDraftsFolderName = INBOX/Drafts;
  SOGoSentFolderName = INBOX/Sent;
  SOGoTrashFolderName = INBOX/Trash;
//  SOGoJunkFolderName = Junk;
  SOGoIMAPServer = "imap://freebsd.example.com:143/?tls=YES";
  SOGoSieveServer = "sieve://freebsd.example.com:4190/?tls=YES";
  SOGoSMTPServer = "smtp://freebsd.example.com:587/?tls=YES";
  SOGoMailDomain = example.com;
  SOGoMailingMechanism = smtp;
  SOGoForceExternalLoginWithEmail = YES;
  SOGoSMTPAuthenticationType = PLAIN;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = "/";

  /* Notifications */
  //SOGoAppointmentSendEMailNotifications = NO;
  //SOGoACLsSendEMailNotifications = NO;
  //SOGoFoldersSendEMailNotifications = NO;

  /* Authentication */
  SOGoPasswordChangeEnabled = YES;

  /* LDAP authentication example */
SOGoUserSources = (
   {
     type = ldap;
     CNFieldName = cn;
     IDFieldName = uid; // first field of the DN for direct binds
     bindFields = (uid, mail); // array of fields to use for indirect binds
     baseDN = "ou=virtualmail,dc=example,dc=com";
     bindDN = "cn=Manager,dc=example,dc=com";
     bindPassword = Strenggeheim;
     canAuthenticate = YES;
     //displayName = "Verzeichnisdienst";
     hostname = "ldap://127.0.0.1:389";;
     id = public;
     isAddressBook = NO;
   },
      {
     type = ldap;
     CNFieldName = cn;
     UIDFieldName = cn;
     IDFieldName = uid; // first field of the DN for direct binds
     bindFields = (uid); // array of fields to use for indirect binds
     baseDN = "ou=Oeffentliche_Adressen,dc=example,dc=com";
     bindDN = "cn=Manager,dc=example,dc=com";
     bindPassword = Strenggeheim;
     canAuthenticate = NO;
     displayName = "Verzeichnisdienst";
     hostname = "ldap://127.0.0.1:389";;
     id = publicAddresses;
     isAddressBook = YES;
   }
  );

  /* Web Interface */
  SOGoPageTitle = SOGo;
  SOGoVacationEnabled = YES;
  SOGoForwardEnabled = YES;
  SOGoSieveScriptsEnabled = YES;
  SOGoTrustProxyAuthentication = NO;
  SOGoXSRFValidationEnabled = NO;
  SOGoMailAuxiliaryUserAccountsEnabled = YES;
  /* General - SOGoTimeZone *MUST* be defined */
  SOGoLanguage = German;
  SOGoTimeZone = Europe/Berlin;
  SOGoCalendarDefaultRoles = (
   PublicDAndTViewer,
   ConfidentialDAndTViewer
  );
  SOGoSuperUsernames = (hanns, admin); // This is an array - keep the parens!
  SxVMemLimit = 384;
  WOPidFile = "/var/run/sogo/sogo.pid";
//  SOGoMemcachedHost = "/var/run/memcached.sock";
  
  /* Debug */
  //SOGoEASDebugEnabled = YES;
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
  //WOLogFile = /var/log/sogo/sogo.log;
}

Regards Hanns
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to