Thanks for hint Corrado. So, I've tried with filter like this for each domain:
filter = "(mail='*prodex.sk*')" and filter = "(mail='*valbek.cz*')" But without success, still the same story in log: Mar 05 15:23:43 sogod [5592]: [ERROR] <0x0xf8dba0[NGImap4ConnectionManager]> IMAP4 login failed: host=localhost, [email protected], pwd=yes url=imap://pasek%40valbek.cz@localhost/INBOX/ base=(nil) base-class=(nil)) = <0x0xe343e0[NGImap4Client]: [email protected](pwd) address=<0x0xf49330[NGInternetSocketAddress]: host=localhost port=143>> Even IMAPHostFieldName seems to be not working when more than one domain is set. Regards Ladislav Sobota, 05 Březen, 2011 14:15 CET, Corrado Fiore <[email protected]> napsal: > Hello Pašek, > > I think you could use filters: SOGo supports them when using LDAP sources. > You could set a different filter for each group and achieve user segregation > with a single AD backend. > > There's an old thread with more specific information on how to set them: > http://www.mail-archive.com/[email protected]/msg00159.html > > (hope filters will be implemented soon for MySQL userSources, too ;-) > > Cheers, > Corrado > > _____________________________________ > Il giorno 05/mar/2011, alle ore 11:28, Pašek Ladislav ha scritto: > > > Hello, > > > > as I've seen it the bug report that it is solved. Also there is written > > that SOGo is differentiating domain through UserSource. That would be a > > problem for me because I have all my users in Active Directory and > > independent Dovecots for different domain just authenticate them with > > filled email filed in AD. I also thought that SOGo will differentiate users > > to domain through the @domain.tld part of the email. > > > > So is there way to differentiate users to SOGOdomain when they are in the > > same AD server but in the different groups like: > > > > ou=PRX,ou=Users,dc=domain,dc=tld > > ou=LBC,ou=Users,dc=domain,dc=tld > > > > Thanks in Advance > > > > Ladislav > > > > Úterý, 01 Únor, 2011 13:03 CET, Corrado Fiore <[email protected]> > > napsal: > > > >> Il giorno 01/feb/2011, alle ore 12:29, Ladislav Pašek ha scritto: > >> > >>> we are using authentication in Active Directory(one domain) for our 4 > >>> different independent mail servers based on Postfix+Dovecot(IMAP). It is > >>> possible to configure SOGo to use different IMAP server according to > >>> filled email in mail field in AD? > >> > >> As far as I know, you could set a different IMAP host per domain. > >> However, there's currently a bug in that function: IMAP hosts set into a > >> domain declaration will revert to localhost (see > >> http://www.sogo.nu/bugs/view.php?id=1097). > >> > >> Of course, if anyone managed to make per-domain IMAP hosts work with a > >> MySQL backend, feel free to correct me. > >> > >> Best, > >> Corrado Fiore > >> > >> ______________________________________-- > >> [email protected] > >> https://inverse.ca/sogo/lists > > > > -- > > [email protected] > > https://inverse.ca/sogo/lists > > -- > [email protected] > https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
