Trouble with IMAP mailbox access

Robert Porl porlrt at studi.informatik.uni-stuttgart.de
Wed Jan 29 22:19:02 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

I've got the following problem using cyrus imapd :

I compiled the cyrus-imap2 port from the FreeBSD ports collection. I then 
had a long time figuring out how to get kerberos authentication to work. 
In the end, i succeeded, so i can now log on to the imap daemon. 

Now i created a test mailbox in cyradm, using the command

> cm user.test

After i did that, the mailbox appears in the spool directory as
/var/spool/imap/user/test . When listing the ACLs on the mailbox
user.test, i get a single entry for user "test" set to full access
(lrswipcda).

But when i try to connect to that mailbox from a client (i use Ximian 
Evolution), i get the following error in the logs :


IOERROR: opening /var/imap/user/t/test.sub : No such file or directory


, which is repeated three times each time i try to check for mail.
The client reports this error back to me.

Looking at the filesystem, i found that there was no "user" subdirectory 
of /var/imap. This was consistent with what i expected, since /var/imap is 
the *config* directory.

Now when i tried to create the user/t hierarchy, things seem to work. I 
don't get an io error any more, but i have a certain bad feeling about the 
situation. Besides, i don't want to manually create the directories 
required for all users.

So my question is what i am doing wrong so that a seemingly required 
directory is not created automatically ? And why does cyrus want to save 
the seen-state (which seems what this all is for) in its config directory, 
instead of the spooldir ?

My imapd.conf :

- --

configdirectory: /var/imap
partition-default: /var/spool/imap
lmtpsocket: /var/lmtp/socket
srvtab: /usr/local/etc/srvtab.cyrusmail
admins: root

- --

Is there any option i forgot to set ?



Thanks in advance !

- -Robert

- --


"They that can give up essential liberty
 to obtain a little temporary safety
 won't have, nor do they deserve, either one."
		
			-Benjamin Franklin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj44ma4ACgkQbQeoBktF+rdDYwCcCPTiRr+AOiprIzUAIa5idUo3
BzMAnRd3O9gApOxj2GlQCI6gKnsM6vm5
=ZNed
-----END PGP SIGNATURE-----






More information about the Info-cyrus mailing list