On 21.1.2011, at 10.47, Jan-Frode Myklebust wrote:
doveadm mailbox status unseen inbox This sounds great, but I'm struggeling to get it working... It complains about:
$ doveadm -v mailbox status -u user@example.com unseen inbox doveadm(user@example.com): Error: userdb lookup: connect(/usr/local/dovecot-2.0.9/var/run/dovecot/auth-userdb) failed: No such file or directory
This needs to be able to connect to v1.2's auth-master socket. So first problem is to make it look in the correct directory:
base_dir = /var/run/dovecot
(or wherever your v1.2's base_dir is)
Then you'll also need to configure v1.2 to add auth-userdb socket on top of auth-master socket (if you didn't already have it). http://wiki.dovecot.org/LDA describes how to add auth-master socket. Just name it auth-userdb instead of auth-master.