Invalid mailbox name?

Mike O'Rourke mjoop at curia.op.org
Tue Feb 17 18:22:54 EST 2004


>>> "trichard" <trichard at hypermall.net> 02/17/04 10:18pm >>>
>>I feel like I am getting pretty close to having this work.  I've
been
>>stuck for awhile on this one issue and I cannot find documentation
to
>>troubleshoot mailboxes and mail client access properly.
>>
>>I can authenticate to the server using a mail client now.  However,
when
>>trying to read the inbox it fails with the following message:
>>
>>"The current command did not succeed.  The mail server responded:
Invalid
>>mailbox name."
>>
>>I feel I am missing something minor because the mailbox was created:
>>
>>[root at post test]# pwd
>>/var/spool/imap/user/test
>>[root at post test]# ls -latr
>>total 20
>>-rw-------    1 cyrus    mail           76 Feb 17 09:16 cyrus.index
>>-rw-------    1 cyrus    mail            4 Feb 17 09:16 cyrus.cache
>>drwx------    3 cyrus    mail         4096 Feb 17 09:16 ..
>>-rw-------    1 cyrus    mail          159 Feb 17 09:16 cyrus.header
>>drwx------    2 cyrus    mail         4096 Feb 17 10:15 .
>>
>>[root at post test]# cyradm -u cyrus -s post
>>Password:
>>post.mydomain.com> lm
>>user.test (\HasNoChildren)
>>
>>post.mydomain.com> sasldblistusers2
>>test at mydomain.com: userPassword
>>cyrus at post.mydomain.com: userPassword
>>
>>What am I doing wrong?  Maybe some setting in the client perhaps?
>>
>>Thanks,
>>-t
>
>Hi Mike,
>
>Well, I don't have unixhierarchsep in there at all.  I assume that is

>what is causing me grief?
>
>Here is my imapd.conf file:
>
>configdirectory: /var/imap
>partition-default: /var/spool/imap
>admins: cyrus root
>allowanonymouslogin: no
>sasl_pwcheck_method: auxprop
>tls_cert_file: /var/imap/server.pem
>tls_key_file: /var/imap/server.pem
>tls_session_timeout: 0
>
>It's my first time setting up cyrus-imapd so I apologize if I missed 
>something obvious.
>
>-trichard

Hi trichard,

try this:
imtest -u test -a test -t '' localhost
(after the -t those are 2 single-quotes.)

At the end of a lot of diagnostics, it should ask for your password.
type it in and hit <ENTER>. If it says "Authenticated", you are
connected and in; if, on the other hand, it says "No Authentication
failed", you are not. If you did not authenticate, hit CTRL-D and add
"-m plain" to the command above bofore "localhost" and try again.

If you do authenticate, (there is no prompt, the imapd just waits)
type:
A01 select inbox

This should return characteristics about the inbox.

If you are not able to authenticate, put the following line in your
/etc/imapd.conf after sasl_pwcheck_method:
sasl_auxprop_plugin: sasldb

and try again.

Let me know what it says.

Mike.
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list