[Dovecot] Problem with Prefetch User Database

megodin at inboxalias.com megodin at inboxalias.com
Thu Mar 21 17:57:01 EET 2013


Hi there Community,

I am currently setting up a Dovecot Mailserver, which works fine with some basic configuration (Dovecot + Sendmail). Sending and receiving Mails is just fine. For improving timings, I wanted to activate the prefetch user database - but apparently it doesn't seem to work correctly - I hope you can help me out!

When I activate the prefetch user database, every time I get a "passdb didn't return userdb entries" from my mail.debug logs.

Here's my config:

passdb {
   driver = pam
}

# (I authenticate via PAM which is itself configured to ask ldap server, ldap returns it back to PAM - so Dovecot only sees the PAM-authentication part)

userdb {
  driver = prefetch
}

userdb {
  driver = ldap
  args = /etc/dovecot/dovecot-ldap.conf.ext
}

# My userdb is going over ldap.

Relevant parts of /etc/dovecot/dovecot-ldap.conf.ext:

. ..
user_attrs = uidNumber=50014,gidNumber=2084,modem-quota=quota_rule=*:storage=%$

user_filter = (&(objectClass=posixAccount)(uid=%u))

pass_attrs = uidNumber==50014,gidNumber=2084


I'm not sure.... maybe it's because of the PAMLDAPPAM? Or am I missing out something other fundamental?
Thanks for any insights,
Megodin



---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! http://email.freenet.de/produkte/basic/index.html

_________________________________________________________________
Send and receive anonymous emails to your inbox with InboxAlias.
http://www.inboxalias.com



More information about the dovecot mailing list