On 10/3/12 3:58 PM, Timo Sirainen wrote:
On 3.10.2012, at 22.26, l...@airstreamcomm.net wrote:

Is it possible to have separate userdb lookups for LMTP and POP/IMAP?
protocol lmtp {
   userdb {
     ..
   }
}
protocol !lmtp {
   userdb {
     ..
   }
}


Forgot to mention I am running 2.0.17.

I separated all the userdb passdb lookups into their own protocol configuration like so:

   protocol imap {
        userdb { .. }
        passdb { .. }
   }
   protocol pop3 {
        userdb { .. }
        passdb { .. }
   }
   protocol lmtp {
        userdb { .. }
   }


And I am getting the following error:

   auth: Fatal: No passdbs specified in configuration file. PLAIN
   mechanism needs one


From a previous post it appears that Dovecot cannot run without a global lookups specified:

   http://www.dovecot.org/list/dovecot/2012-March/064407.html


Per the suggestion in the old post I created an empty passwdfile and included it in the auth-passwdfile which seems to have alleviated the issue, however this seems like a sub-optimal solution. Is this still the case, or is there a way to tell Dovecot that there is no global lookups?

Reply via email to