[Dovecot] doveadm(user001): Fatal: passdb lookup failed
mailing lists
listas.correo at yahoo.es
Wed Oct 5 18:49:03 EEST 2011
Hello all,
why I can run whis command:
imap1:~ # doveadm user user001
userdb: user001
mail : maildir:/var/maildir/vol04/4/46/user001
home : /var/mailfilter/vol04/4/46/user001
quota_rule: *:bytes=100000000
but not this one:
imap1:~ # doveadm quota get -u user001
doveadm(user001): Error: user user001: Auth PASS lookup failed
doveadm(user001): Fatal: passdb lookup failed
what I'm missing ?
/-------------------/
imap1:/etc/dovecot # grep ^[^#] dovecot-ldap.conf.ext
uris = ldap://ldap.example.com
dn = cn=admin,dc=example,dc=com
dnpass = secret
sasl_bind = no
tls = no
auth_bind = yes
ldap_version = 3
base = dc=example,dc=com
deref = never
scope = subtree
user_attrs = mailbox=mail=maildir:/var/maildir/%$,homeFilter=home,mailQuota=quota_rule=*:bytes=%$
user_filter = (&(objectClass=CourierMailAccount)(uid=%n))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectClass=CourierMailAccount)(uid=%n))
iterate_filter = (objectClass=CourierMailAccount)
imap1:/etc/dovecot # dovecot -n
# 2.0.14: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.34.7-0.7-xen x86_64 openSUSE 11.3 (x86_64)
auth_debug = yes
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
doveadm_proxy_port = 24244
doveadm_socket_path = localhost:24244
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_debug = yes
mail_fsync = always
mail_gid = 5000
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = acl quota notify
quota = maildir:User Quota
quota_exceeded_message = Quota exceded
quota_rule2 = Trash:storage=+50M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=90%% quota-warning 90 %u
mail_uid = 5000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
mmap_disable = yes
namespace {
inbox = yes
list = yes
location =
prefix =
separator = .
subscriptions = yes
}
namespace {
hidden = yes
inbox = no
list = no
location =
prefix = INBOX.
separator = .
subscriptions = no
}
namespace {
list = children
location = maildir:/var/virtual-maildir/%%n:INDEX=~/shared.%%n
prefix = shared.%%n.
separator = .
subscriptions = no
type = shared
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = file:/var/maildir/shared-mailboxes
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change append
mail_log_fields = uid box msgid from subject size vsize flags
mail_plugins = " mail_log notify"
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
postmaster_address = nonresponse at example.com
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
}
service dict {
unix_listener dict {
group = vmail
mode = 0600
user = vmail
}
}
service doveadm {
inet_listener {
port = 24244
}
}
service imap {
process_limit = 1024
}
service lmtp {
inet_listener lmtp {
port = 24
}
unix_listener lmtp {
group = vmail
mode = 0666
user = vmail
}
}
service pop3-login {
inet_listener pop3 {
port = 110
}
}
service pop3 {
process_limit = 1024
}
service quota-warning {
executable = script /etc/dovecot/quota-warning.sh
user = vmail
}
ssl = no
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = acl quota notify sieve
}
protocol lda {
mail_plugins = acl quota notify sieve
}
protocol imap {
mail_max_userip_connections = 100
mail_plugins = acl quota notify imap_acl autocreate imap_quota
}
protocol pop3 {
pop3_uidl_format = %v-%u
}
local 100.1.245.101/28/28 {
doveadm_password = secret
}
More information about the dovecot
mailing list