[Dovecot] cache_key assertion error 1.0.rc15
Frank Cusack
fcusack at fcusack.com
Mon Nov 20 07:59:50 UTC 2006
On November 19, 2006 8:58:54 PM -0800 Frank Cusack <fcusack at fcusack.com>
wrote:
> I just added auth caching with pam, and I'm getting this error:
>
> dovecot: [ID 107833 mail.error] auth(default): file passdb.c: line 178
> (passdb_init): assertion failed: (passdb->passdb->default_pass_scheme !=
> NULL || passdb->passdb->cache_key == NULL)
>
> A google search turns up
> <http://www.dovecot.org/list/dovecot-cvs/2005-March/004117.html>
> which looks approx like this except the assertion above is in passdb.c.
>
> Anyway, is this a known problem in 1.0.beta8? I've been reluctant to
> upgrade to the rc's due to all the problems.
I get the same problem with rc15, except that in 1.0.beta8, the error
would appear just once. In rc15, it repeats once/second. I guess rc15
restarts dovecot-auth if it dies?
Here are my non-default dovecot.conf (1.0.rc15) settings:
disable_plaintext_auth = no
ssl_disable = yes
protocol imap {
mail_plugins = dspam
mail_plugin_dir = /usr/lib/dovecot/imap
}
protocol lda {
mail_plugins = cmusieve
sendmail_path = /usr/sbin/sendmail
}
auth_cache_size = 64
# 4 hours
auth_cache_ttl = 14400
auth default {
mechanisms = plain
passdb pam {
args = cache_key=%u%r dovecot
}
userdb passwd {
}
user = root
}
This is on Solaris 10U2/x86.
thanks
-frank
More information about the dovecot
mailing list