Hi,

I just setup a multi-domain SOGo like this:

sogod domains '{
    "first.tld" = {
        SOGoMailDomain = first.tld;
        SOGoUserSources = (
            {
                IMAPLoginFieldName = "c_uid";
                authenticationFilter = "(c_uid like ''%@first.tld'')";
                canAuthenticate = YES;
                displayName = "Globales Adressbuch";
                id = "first.tld";
                isAddressBook = YES;
                type = sql;
                userPasswordAlgorithm = ssha256;
                viewURL = "mysql://x:x@localhost:3306/x/sogo_view_1";
            }
        );
    };
    "second.tld" = {
        SOGoMailDomain = second.tld;
        SOGoUserSources = (
            {
                IMAPLoginFieldName = "c_uid";
                authenticationFilter = "(c_uid like ''%@second.tld'')";
                canAuthenticate = YES;
                displayName = "Globales Adressbuch";
                id = "second.tld";
                isAddressBook = YES;
                type = sql;
                userPasswordAlgorithm = ssha256;
                viewURL = "mysql://x:x@localhost:3306/x/sogo_view_2";
            }
        );
    };
}'

With SOGoMailDomain "first.tld" and "second.tld", SOGo always assumed "second.tld" for all users. When I renamed "first.tld" and "second.tld" to "firsttld" and "secondtld" the SOGoMailDomain parameter was fine.

Can anybody confirm this?

I always restarted memcached, SOGo and cleaned the db (with sogo-tool and sometimes dropped the tables by hand, too).

André

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to