Hi folks, I have been through the forum here but nothing quite seems to describe this problem.

Cyrus IMAP - virtual user. Incoming email is handled fine and put into a mailbox user.test which I set up using cyradm. I can see the emails appearing in the filesystem no problem

Trying to connect to the IMAP server on port 143 either manually through telnet or kmail - i can log in OK, but user.test mailbox doesn't show up.

I have attached strace to the imap process whilst trying to connect via kmail. It shows successful logins, but shortly after outputs:

stat64("DB_CONFIG", 0xbfffbe60) = -1 ENOENT (No such file or directory)
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=120, ...}) = 0
stat64("__db.002", 0xbfffbeb0) = -1 ENOENT (No such file or directory)


This is my imapd.conf:
***********************

configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/imap/sieve

# Don't use an everyday user as admin.
admins: cyrus

hashimapspool: yes
allowanonymouslogin: no
allowplaintext: yes

# Use this if sieve-scripts could be in ~user/.sieve.
#sieveusehomedir: yes

sasl_pwcheck_method: auxprop
sasl_mech_list: PLAIN

# Added by chris
virtdomains: yes
lmtpsocket: /var/imap/socket/lmtp

Help will be much appreciated as my email config has taken me months to get this far. I was stuck on getting IMAP to accept the incoming emails for delivery, but I still haven't got the last piece - picking up the emails!

Cheers,

Chris