Yes, it's possible. In fact, I have a working configuration using an LDAP connection and a PostgreSQL connection. The SOGo user manual has details about it and the relevant fragment within my /etc/sogo/sogo.conf is this: domains = { ldapDomain = { SOGoMailDomain = "some.domain.com"; SOGoUserSources = ( { id = "ldapDomainId"; type = "ldap"; CNFieldName = "cn"; UIDFieldName = "uid"; IDFieldName = "mail"; bindFields = ("uid", "mail"); baseDN = "dc=some,dc=domain,dc=com"; bindDN = "cn=someuser,dc=some,dc=domain,dc=com"; bindPassword = "some-difficult-password"; canAuthenticate = YES; IMAPLoginFieldName = "mail"; displayName = "Shared Directory AddressBook"; hostname = "ldap://someserver.some.domain.com:390"; isAddressBook = YES; } ); }; sqlDomains = { SOGoUserSources = ( { id = "sqlDomainsId"; type = "sql"; viewURL = "postgresql://some-read-only-user:other-difficult-passw...@otherserver.some.domain.com:5432/somedatabase/some-table-or-view"; canAuthenticate = YES; isAddressBook = YES; displayName = "Shared Database AddressBook"; userPasswordAlgorithm = "SHA"; } ); }; };
Obviously, you'll have to adapt it to your environment and to use MySQL instead of PostgreSQL. Best regards. El Viernes, 24 de abril, 2015 7:33:39, "syl.am...@gmail.com" <syl.am...@gmail.com> escribió: Is it possible to mix in SogoUserSource a connection to ldap and a connection to mysql just for a external user that does not have ldap account ?? -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists