[Dovecot] dovecot-1.1-alpha1 prefetch appears broken

David Favor david at davidfavor.com
Mon Jul 30 23:05:09 EEST 2007


Config shows...

# 1.1.alpha1: /usr/local/conf/dovecot.conf
protocols: imaps
ssl_listen: 69.94.137.124:10943
login_dir: /common/pkgs/dovecot-1.1-alpha1/var/run/dovecot/login
login_executable: /common/pkgs/dovecot-1.1-alpha1/libexec/dovecot/imap-login
mail_debug: yes
auth default:
   verbose: yes
   debug: yes
   debug_passwords: yes
   passdb:
     driver: sql
     args: /usr/local/conf/dovecot-sql.conf
   userdb:
     driver: prefetch
   userdb:
     driver: sql
     args: /usr/local/conf/dovecot-sql.conf

Log shows...

auth(default): client in: AUTH    1       PLAIN   service=imap    secured lip=69.94.137.124 
rip=71.155.185.14
auth(default): client out: CONT   1
auth(default): client in: CONT    1       AGRvZGExAGZpcmUyM2JyaWNr
auth-worker(default): sql(doda1,71.155.185.14): query: SELECT password, home AS userdb_home,\
     uid AS userdb_uid, gid AS userdb_gid FROM users WHERE user = 'doda1'
auth(default): client out: OK     1       user=doda1
auth(default): master in: REQUEST 1       12491   1
auth(default): prefetch(doda1,71.155.185.14): passdb didn't return userdb entries
auth-worker(default): sql(doda1,71.155.185.14): SELECT home, uid, gid FROM users WHERE \
    user = 'doda1'
auth(default): master out: USER   1       doda1   \
    home=/common/vhost/coolsurf.com/users/david     uid=503 gid=501
imap-login: Login: user=<doda1>, method=PLAIN, rip=71.155.185.14, lip=69.94.137.124, TLS
IMAP(doda1): Effective uid=503, gid=501, home=/common/vhost/coolsurf.com/users/david
IMAP(doda1): maildir: root exists (/common/vhost/coolsurf.com/users/david/Maildir)
IMAP(doda1): maildir++: root=/common/vhost/coolsurf.com/users/david/Maildir, index=,\
     control=, inbox=/common/vhost/coolsurf.com/users/david/Maildir

The passdb query returns expected data directly from sqlite and apparently (from the logs)
to dovecot also. Problem is dovecot seems to be missing all the data returned as userdb_*
field names.

Suggestions?

-- 
Like feeling your best ever, all day, every day?
Email join at RadicalHealth.com for the easy way.


More information about the dovecot mailing list