Re: Two domains - same user names filter

2017-06-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 6 Jun 2017, Sandbox wrote: Its weird, when i sat up (&(uid=%n)(mail=*@%{domain1.com})) as user_filter: ^^ https://wiki2.dovecot.org/Variables?highlight=%28domain%29 The variable is named

Re: Two domains - same user names filter

2017-06-06 Thread Sandbox
Its weird, when i sat up (&(uid=%n)(mail=*@%{domain1.com})) as user_filter: auth: Debug: auth client connected (pid=14697) auth: Debug: client in: AUTH1 PLAIN service=imapsecured session=3Ej8PkdRAgDAqAG3lip=192.168.34.10 rip=192.168.34.18 lport=143

Re: Two domains - same user names filter

2017-06-03 Thread Sami Ketola
> On 2 Jun 2017, at 11.40, Aki Tuomi wrote: > > Dovecot 2.2.29+ has feature called username_filter for passdb blocks, which > lets you specify usernames the passdb block is to be used. This could > simplify your config somewhat. See

Re: Two domains - same user names filter

2017-06-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Jun 2017, Sandbox wrote: On Fri, 2 Jun 2017, Sandbox wrote: I have two LDAP domains, which has some equal users, eg: a...@domain1.com a...@domain2.com This works fine except one thing: i cant set up the ldap query to choose the

Re: Two domains - same user names filter

2017-06-02 Thread Sandbox
Hi, On Fri, 2 Jun 2017, Sandbox wrote: I have two LDAP domains, which has some equal users, eg: > > a...@domain1.com > a...@domain2.com > > This works fine except one thing: i cant set up the ldap query to choose > the correct maildir if the user names are equal. > | Well the most problem is

Re: Two domains - same user names filter

2017-06-02 Thread Aki Tuomi
> On June 2, 2017 at 11:13 AM Steffen Kaiser > wrote: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 2 Jun 2017, Sandbox wrote: > > > I have two LDAP domains, which has some equal users, eg: > > > > a...@domain1.com > > a...@domain2.com > >

Re: Two domains - same user names filter

2017-06-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Jun 2017, Sandbox wrote: I have two LDAP domains, which has some equal users, eg: a...@domain1.com a...@domain2.com This works fine except one thing: i cant set up the ldap query to choose the correct maildir if the user names are

Two domains - same user names filter

2017-06-02 Thread Sandbox
Hi, I have two LDAP domains, which has some equal users, eg: a...@domain1.com a...@domain2.com I sat up this config: domain1 users maildirs are stored in /home/vmail/username domain2 users maildirs are stored in /home/vmail/domain2/username This works fine except one thing: i cant set up the