sasldb and /var/spool/imap/* (recursive) are owned by cyrus:mail (with
permissions 640 or 750 for directories)
'test' is in sasldb, and has a mailbox in cyrus: user.test
I'm logging in as 'test' from the IMAP client.
It is the only mailbox on the system and has a quota of 100K. (so that I can
test usage by running 'quota'). So far nothing. No mail gets into the
folder unless I drag it into the folder from a client.
I dragged in a message manually and was able to immediately use 'lq
user.test' to verify that 2K was being used up after the message was
inserted.
I've attached imap.conf and cyrus.conf:
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
# To use the PAM for authentication (but not /etc/passwd or shadow), change
# the following line to specify "pam" instead of "sasldb".
sasl_pwcheck_method: sasldb
# standard standalone server implementation
START {
# do not delete these entries!
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="/usr/cyrus/bin/imapd" listen="imap" prefork=0
imaps cmd="/usr/cyrus/bin/imapd -s" listen="imaps" prefork=0
pop3 cmd="/usr/cyrus/bin/pop3d" listen="pop3" prefork=0
pop3s cmd="/usr/cyrus/bin/pop3d -s" listen="pop3s" prefork=0
sieve cmd="/usr/cyrus/bin/timsieved" listen="sieve" prefork=0
# at least one LMTP listener is required for proper delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="/usr/cyrus/bin/lmtpd" listen="/var/imap/socket/lmtp"
prefork=0
}
EVENTS {
# this is required
checkpoint cmd="ctl_mboxlist -c" period=30
# this is only necessary if using duplicate delivery suppression
#delprune cmd="ctl_deliver -E 3" period=1440
}
> Your problems sounds more like a permissions problem to me, judging from
> the fact that your first example didn't work. I'd check into the
> permissions on your sasldb and /var/spool/imap/user/test/ . Or maybe
> you don't have a "test" user in your sasldb and Cyrus is looking for the
> user there rather than in your local Unix accounts.
>