Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier-IMAP: "Mailbox does not exist, or must be subsc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Mon Sep 06, 2004 12:53 am    Post subject: Courier-IMAP: "Mailbox does not exist, or must be subsc Reply with quote

I've just migrated my (Debian) server over to Gentoo, and am having a few issues getting mail back to normal.

After a bit of dicking around I managed to pull the relevant parts of my old Postfix config in, and now delivery is working fine. New mail is correctly appearing in ~/Maildir/new/.

Permissions on my folders seem to be fine:
Code:
[31] trejkaz@carroll:~> ls -la Maildir/
total 61
drwx------  33 trejkaz users  1024 Sep  6 10:45 .
drwx--x--x  54 trejkaz users 11264 Sep  6 10:46 ..
-rw-r--r--   1 trejkaz users     6 Aug 28 21:09 courierimapsubscribed
-rw-r--r--   1 trejkaz users   747 Sep  4 13:58 courierimapuiddb
drwx------   2 trejkaz users  6144 Sep  4 13:58 cur
drwx------   2 trejkaz users  5120 Sep  6 10:42 new
drwx------   2 trejkaz users  1024 Sep  6 10:42 tmp


I can access the folder directly using mutt and things work. I haven't changed the permissions on the files since restoring the backup, because I made sure all the users were recreated with the same UIDs.

But accessing the folder via IMAP with mutt, I get this error:
Code:
Mailbox does not exist, or must be subscribed to.


Has anyone seen this sort of behaviour? And what causes it? Most indications say that the permissions are wrong, but they look right to the naked eye. :-)
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Mon Sep 06, 2004 2:08 am    Post subject: Reply with quote

Well I've _half_ solved the problem now. Turns out Gentoo has ~/.maildir/, while Debian had ~/Maildir/. It bothers me a bit that there didn't seem to be any place to configure this, but I renamed the folder anyway.

So now I can open things like "=Lists", but I still can't open the inbox itself. The inbox is giving the same error as before. :-(
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Mon Sep 06, 2004 4:45 pm    Post subject: Reply with quote

The config for courier is in the /etc/courier-imap folder
there are 4 files that mention the maildir location.
imapd
imapd-ssl
pop3d
pop3d-ssl

edit the ones for the servers you are using. The option is at the end of the files.
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Mon Sep 06, 2004 9:52 pm    Post subject: Reply with quote

Okay, but I renamed my maildirs now anyway. The question now is, why can't I open =INBOX when I can open =AnyOtherFolder?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum