1 Jun
2010
1 Jun
'10
2:36 a.m.
On 1.6.2010, at 0.30, Brandon Davidson wrote:
May 31 16:20:42 cc-popmap7 dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN mechanism needs one
Hmm. Maybe this check should check also the local etc. blocks..
So I added a global passdb/userdb:
The passdbs and userdbs are checked in the order they're defined. You could add them at the bottom. Or probably more easily:
local 128.223.143.138 { passdb { driver = sql args = .. }
passdb { driver = pam } userdb { driver = passwd }
This should work because all proxy lookups get caught by the sql lookup, while non-proxy connections go directly to pam. And only non-proxy connections care about userdb.