Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier imap being strange
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
growse
Apprentice
Apprentice


Joined: 24 Jan 2003
Posts: 154
Location: Sunny UK

PostPosted: Tue Nov 30, 2004 7:50 pm    Post subject: Courier imap being strange Reply with quote

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
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Nov 30, 2004 7:53 pm    Post subject: Reply with quote

Gentoo use .maildir instead of Maildir.
Back to top
View user's profile Send private message
growse
Apprentice
Apprentice


Joined: 24 Jan 2003
Posts: 154
Location: Sunny UK

PostPosted: Tue Nov 30, 2004 10:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Nov 30, 2004 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
growse
Apprentice
Apprentice


Joined: 24 Jan 2003
Posts: 154
Location: Sunny UK

PostPosted: Tue Nov 30, 2004 11:25 pm    Post subject: Reply with quote

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
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