• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Dovecot Error: auth-master: userdb list: User listing returned failure

Jadek

New Pleskian
Server operating system version
Debian GNU/Linux 10 (buster)
Plesk version and microupdate number
Plesk Obsidian Web Admin Edition 18.0.48
Hi, i can't seem to get my dove adm commands to work on plesk obsidian. I keep getting the error below;

doveadm user -f 'username' '*'
Error: auth-master: userdb list: User listing returned failure
Fatal: user listing failed

Here is my configuration. From my research, the issue appears to revolve around the use of the static driver which doesn't allow user iteration. I'd have to switch the configuration to use the passwd-file but struggling to do that.

auth_mechanisms = plain login digest-md5 cram-md5 apop
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012345 67890&.-_@+'
disable_plaintext_auth = no
first_valid_uid = 30
imap_client_workarounds = delay-newmail
imap_logout_format = rcvd=%i, sent=%o
mail_home = /var/qmail/mailnames/%Ld/%Ln
mail_location = maildir:/var/qmail/mailnames/%Ld/%Ln/Maildir:UTF-8
mail_log_prefix = "service=%s, user=%u, ip=[%r]. "
mail_plugins = " quota"
managesieve_logout_format = rcvd=%i, sent=%o
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacati on subaddress comparator-i;ascii-numeric relational regex imap4flags copy includ e variables body enotify environment mailbox date index ihave duplicate mime for everypart extracttext imapflags notify
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = create
special_use = \Drafts
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox Spam {
auto = create
special_use = \Junk
}
mailbox Trash {
auto = create
special_use = \Trash
}
prefix = INBOX.
separator = .
}
passdb {
driver = plesk
}
plugin {
quota = maildir:User quota
quota_grace = 0
quota_warning = storage=95%% quota-warning %u
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_logout_format = rcvd=%i, sent=%o, top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
protocols = imap pop3 sieve
service auth-worker {
group =
user =
}
service auth {
group =
unix_listener auth-userdb {
group = popuser
mode = 0600
user = popuser
}
user =
}
service imap-login {
process_limit = 1024
service_count = 1
}
service imap {
process_limit = 1024
service_count = 1
}
service pop3-login {
process_limit = 1024
service_count = 1
}
service pop3 {
process_limit = 1024
service_count = 1
}
service quota-warning {
executable = script /usr/lib/plesk-9.0/send-quota-warning
unix_listener quota-warning {
user = popuser
}
user = popuser
}
service stats {
unix_listener stats-writer {
user = popuser
}
}
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_cipher_list = EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AES GCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20:EECDH+SHA256+AES128:EECDH+SHA384+AES25 6:EDH+SHA256+AES128:EDH+SHA256+AES256:EECDH+SHA1+AES128:EECDH+SHA1+AES256:EDH+SH A1+AES128:EDH+SHA1+AES256:EECDH+HIGH:EDH+HIGH:AESGCM+AES128:AESGCM+AES256:CHACHA 20:SHA256+AES128:SHA256+AES256:SHA1+AES128:SHA1+AES256:HIGH:!aNULL:!eNULL:!EXPOR T:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!aECDH:!kDH
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1
ssl_prefer_server_ciphers = yes
userdb {
args = uid=popuser gid=popuser
driver = static
}
protocol imap {
mail_plugins = " quota imap_quota"
}
protocol pop3 {
pop3_uidl_format = UID%u-%v
}
protocol lda {
mail_plugins = " quota sieve"
}
local_name domain.com {
ssl_cert = </opt/psa/var/certificates/scfyOUL15
ssl_key = # hidden, use -P to show it
}
local_name mail.hotelmeritoria.com {
ssl_cert = </opt/psa/var/certificates/scfyOUL15
ssl_key = # hidden, use -P to show it
}
local_name domain.org {
ssl_cert = </opt/psa/var/certificates/scfIi4CKT
ssl_key = # hidden, use -P to show it
}
local_name domain.org {
ssl_cert = </opt/psa/var/certificates/scfIi4CKT
ssl_key = # hidden, use -P to show it
}

Grateful if I could get some advice on resolving this issue.
 
Hi Jedi, Unfortunately not! So i had to use a workaround to achieve the task I was attempting to handle using the doveadm utility.
 
Back
Top