Which version of Mail? (Are you running OS X 10.3 or 10.4?)
Sorry. I should have included these with my original question:
Mac OS 10.4.2
Mail.app 2.0.3 (734)
courier-imap 3.0.8 on Linux
Make sure you set IMAP Path Prefix under Preferences->Accounts->Advance
to "INBOX".
It seems you have to do this before Mail ever downloads any data; so
set up a new account; enter an invalid password to prevent it from
connecting; edit the IMAP Path Prefix to be "INBOX" (no quotes); then
give it a valid password. Delete your all Mail account.
Thanks for the hint but no luck here. I even deleted ~/Library/Mail and
~/Library/Preferences/com.appl.mail.plist to make sure I was starting from
scratch. It still shows 0 messages in my Inbox, and the "In" mailbox I
symlinked in shows the right number of new messages but when
I click on it it goes to 0 messages and shows no messages again.
I am convinced it is something really wrong with Mail.app now though, as I
have connected it to a Cyrus IMAP server a friend runs and it is doing the
same thing. It's too bad really as I love Mail.app's integration with the
Address Book but not being able to read my Inbox is a deal breaker.
And file a bug with Apple -- they should pick up the IMAP path prefix
as part of logging in.
I have but Apple's support is notably poor. It's a pitty too as I am over
all pretty happy with the system being a Unix geek mostly.
Thanks,
-Nick