Hi,

For multiple identity, you need to set SOGoMailCustomFromEnabled = YES;

Regards,
Yoann
Le 27/01/2022 à 21:31, Hanns Mattes ([email protected]) a écrit :
Hi,

"Hanns Mattes" ([email protected]) <[email protected]> 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:[email protected]:3306/sogo/sogo_cache_folder";
OCSStoreURL = "mysql://sogo:[email protected]:3306/sogo/sogo_store";
OCSAclURL = "mysql://sogo:[email protected]: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
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to