[Dovecot] qmail and LDA: passdb didn't return userdb entries

Alessio Cecchi alessio at skye.it
Tue Dec 2 16:35:49 EET 2008


i'm testing Dovecot LDA to works with qmail and vpopmail. I have added into 
a .qmail for a users this line:

root at test.com: /home/vpopmail/domains/test.com/0/test# cat .qmail

| /var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $EXT@$USER

This is my dovecont conf:

# dovecot -n
# 1.1.7: /etc/dovecot.conf
# OS: Linux 2.6.24-21-server x86_64 Ubuntu 8.04.1
log_path: /var/log/dovecot/dovecot-err.log
info_log_path: /var/log/dovecot/dovecot.log
protocols: imap
listen: *:143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_greeting: Ready
login_process_per_connection: no
first_valid_uid: 89
mail_drop_priv_before_exec: yes
mail_plugins: quota imap_quota
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
    driver: checkpassword
    args: /home/vpopmail/bin/vchkpw
    driver: prefetch
    args: uid=89 gid=89 home=/home/vpopmail/domains/%d/%u
    type: listen
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vpopmail
      group: vchkpw
  quota: maildir

I have added 

protocol lda {
        postmaster_address = postmaster at test.com
        mail_plugins = quota
        log_path = /tmp/dovecot-deliver.log
        info_log_path = /tmp/dovecot-deliver.log


        socket listen {
                master {
                                path = /var/run/dovecot/auth-master
                mode = 0660
                user = vpopmail
                group = vchkpw

But in the log file i find this errors:

dovecot: Dec 02 15:28:04 Error: auth(default): prefetch(test at test.com): passdb 
didn't return userdb entries

I have read in the wiki that deliver needed to know some much information 
about users, like HOMEDIR, but this information are not returned by vpopmail 

IMAP authentication works fine instead.

What is wrong?
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

More information about the dovecot mailing list