View previous topic :: View next topic |
Author |
Message |
growse Apprentice
Joined: 24 Jan 2003 Posts: 154 Location: Sunny UK
|
Posted: Tue Nov 30, 2004 7:50 pm Post subject: Courier imap being strange |
|
|
Just installed gentoo, after ditching debian. The way my mail is set up, I have fetchmail download it from a remote pop server, and stores it in /home/growse/Maildir (which is a maildir). I then run my own imap server which reads out of /home/growse/Maildir and thus I can log into the imap server to read my mail.
This worked flawlessly on my debian build. However, with gentoo, the imap server (using courier-imap) logs me in fine, but doesn't let me select Inbox. It returns "Cannot open that mailbox". This is the same whether I use a mail client, or just telnet localhost on the imap port.
The MAILDIRPARTH is set to Maildir and the config is pretty much exactly the same as before, when it worked.
Why can't it open the mailbox? Is it looking in a different place to /home/growse/Maildir? _________________ Getting there.... |
|
Back to top |
|
|
langthang Retired Dev
Joined: 27 Nov 2003 Posts: 620
|
Posted: Tue Nov 30, 2004 7:53 pm Post subject: |
|
|
Gentoo use .maildir instead of Maildir. |
|
Back to top |
|
|
growse Apprentice
Joined: 24 Jan 2003 Posts: 154 Location: Sunny UK
|
Posted: Tue Nov 30, 2004 10:28 pm Post subject: |
|
|
Is that not configurable? Besides, after moving Maildir to .maildir, and reconfiguring courier and procmail to use .maildir, I still get the same
BC NO Unable to open this mailbox. _________________ Getting there.... |
|
Back to top |
|
|
langthang Retired Dev
Joined: 27 Nov 2003 Posts: 620
|
Posted: Tue Nov 30, 2004 11:21 pm Post subject: |
|
|
there is one GLEP (glep.gentoo.org) and one bug proposed to have MAILDIR configurable.
Did you change /etc/courier-imap/imapd and /etc/courier-imap/imapd-ssl?
Code: | mar ~ # grep ^MAILDIR /etc/courier-imap/imapd
MAILDIR=.maildir
MAILDIRPATH=.maildir
mar ~ # grep ^MAILDIR /etc/courier-imap/imapd-ssl
MAILDIRPATH=.maildir |
|
|
Back to top |
|
|
growse Apprentice
Joined: 24 Jan 2003 Posts: 154 Location: Sunny UK
|
Posted: Tue Nov 30, 2004 11:25 pm Post subject: |
|
|
Right, Problem solved. The problem was I only had MAILDIRPATH=.maildir set, whereas I needed MAILDIR=.maildir as well.
Dur... _________________ Getting there.... |
|
Back to top |
|
|
|