Re: Using a separate passdb per service

2015-08-10 Thread Gerry
On 08/10/2015 09:58 AM, Steffen Kaiser wrote: > As far as I know, all services use the "auth" in the back. > > But you have the "%s" / service variable. You should be able to craft a > SQL query, that returns NULL & nopasswd=Y, if postfix is not querying > Dovecot. > > I don't know, which service

Re: Using a separate passdb per service

2015-08-10 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 7 Aug 2015, Gerry wrote: The problem is that Dovecot is operating in proxy mode, which means that the password_query returns NULL as the password and explicitly returns a field "nopasswd" containing "Y". Thus, users can not authenticate agai

Re: Using a separate passdb per service

2015-08-09 Thread Gerry
On 08/08/2015 05:57 AM, Edgar Pettijohn wrote: > I'm not sure if this would work, but possibly having two separate > instances of dovecot with separate configs running may work for you. > > http://wiki2.dovecot.org/RunningDovecot Hi Edgar, Thank you for your suggestion. Yes, that would probably

Re: Using a separate passdb per service

2015-08-07 Thread Edgar Pettijohn
I'm not sure if this would work, but possibly having two separate instances of dovecot with separate configs running may work for you. http://wiki2.dovecot.org/RunningDovecot On 08/07/15 11:04, Gerry wrote: Situation: one front-facing server running Dovecot as IMAP/POP3/ ManageSieve proxy, a m

Using a separate passdb per service

2015-08-07 Thread Gerry
Situation: one front-facing server running Dovecot as IMAP/POP3/ ManageSieve proxy, a mixture of IMAP servers (Dovecot, Exchange, ...) in the back-end. Dovecot's passdb does lookups against MySQL which contains a simple user/host mapping, the actual authentication happens on the back-end IMAP serve