Mailbox does not exist question

Andrew Morgan morgan at orst.edu
Wed Jan 23 17:28:28 EST 2013


On Wed, 23 Jan 2013, Charles Bradshaw wrote:

> I'm seeing the following when I test cyrus-imapd using telnet.
>
> I seem to be missing some fundamental configuration.
>
> What am I doing wrong?
>
> Thanks in advance, Charles Bradshaw
>
> Telnet imap session:
>
> # telnet localhost imap
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN
> AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR] imap-host.mydomain Cyrus IMAP
> v2.4.14-Fedora-RPM-2.4.14-1.fc17 server ready
> a1 LOGIN test at mydomain *******
> a1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA
> MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN
> MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED WITHIN
> QRESYNC SCAN XLIST URLAUTH URLAUTH=BINARY X-NETSCAPE LOGINDISABLED
> COMPRESS=DEFLATE IDLE] User logged in
> SESSIONID=<imap-host.mydomain-1720-1358978359-1>
> a2 LIST "" *
> a2 OK Completed (0.000 secs)
>
> I expected something like '* LIST (\HasNoChildren) "." "INBOX"', but the
> response is blank!
>
> ~ o ~
>
> Telnet pop session:
>
> # telnet localhost 110
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> +OK imap-host.mydomain Cyrus POP3 v2.4.14-Fedora-RPM-2.4.14-1.fc17 server
> ready <1420303981.1358957093 at imap-host.mydomain>
> USER test at mydomain
> +OK Name is a valid mailbox
> PASS ******
> -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist
>
> /val/log/maillog has:
> pop3s[13116]: Unable to locate maildrop mydomain!user.test: Mailbox does not exist
>
> ~ o ~
>
> However /var/spool/imap/t/user/test mailbox exists and contains mail:
>
> # ls -l /var/spool/imap/t/user/test
> total 24
> -rw-------. 1 cyrus mail  602 Jan 23 14:36 1.
> -rw-------. 1 cyrus mail  606 Jan 23 14:59 2.
> -rw-------. 1 cyrus mail  603 Jan 23 15:49 3.
> -rw-------. 1 cyrus mail 1884 Jan 23 15:49 cyrus.cache
> -rw-------. 1 cyrus mail  154 Jan 21 09:58 cyrus.header
> -rw-------. 1 cyrus mail  416 Jan 23 15:49 cyrus.index
>
> # cat /etc/imapd.conf
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: auxprop
> sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5
> sasl_auxprop_plugin:sasldb
> allowplaintext: yes
> virtdomains: userid
> tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
> tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
> tls_cipher_list: TLSv1:SSLv3:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
> +OK imap-host.mydomain Cyrus POP3 v2.4.14-Fedora-RPM-2.4.14-1.fc17 server
> ready <1420303981.1358957093 at imap-host.mydomain>
> USER test at mydomain
> +OK Name is a valid mailbox
> PASS ******
> -ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exist
>
> /val/log/maillog has:
> pop3s[13116]: Unable to locate maildrop mydomain!user.test: Mailbox does not exist
>
> ~ o ~
>
> However /var/spool/imap/t/user/test mailbox exists and contains mail:
>
> # ls -l /var/spool/imap/t/user/test
> total 24
> -rw-------. 1 cyrus mail  602 Jan 23 14:36 1.
> -rw-------. 1 cyrus mail  606 Jan 23 14:59 2.
> -rw-------. 1 cyrus mail  603 Jan 23 15:49 3.
> -rw-------. 1 cyrus mail 1884 Jan 23 15:49 cyrus.cache
> -rw-------. 1 cyrus mail  154 Jan 21 09:58 cyrus.header
> -rw-------. 1 cyrus mail  416 Jan 23 15:49 cyrus.index
>
> # cat /etc/imapd.conf
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: auxprop
> sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5
> sasl_auxprop_plugin:sasldb
> allowplaintext: yes
> virtdomains: userid
> tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
> tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
> tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
> tls_cipher_list: TLSv1:SSLv3:!NULL:!EXPORT:!DES:!LOW:@STRENGTH

Run "cyradm --user cyrus localhost" and type "lm *".  Is the mailbox 
"user.test" in the output?

 	Andy


More information about the Info-cyrus mailing list