On Jan 18, 2004, at 6:09 am, Dan Egli wrote:


I take it that courier is running on a different machine from that on
which you're downloading the POP3 to..? Because it would be very weird
if you downloaded POP3 into the same folder that IMAP was reading from.
I only use courier's IMAP functions.


I want to support both becausesome of my users do not understand IMAP (Don't
ask my why they don't take the time to learn, but they don't).
And yes this is on a separate machine....

Ok... that's fine.


   [EMAIL PROTECTED] stroller $ sudo grep -i maildir
/etc/courier-imap/imapd
   #Hardwire a value for ${MAILDIR}
   MAILDIR=.Maildir
   [EMAIL PROTECTED] stroller $ ls -la | grep -i maildir
   drwx------   43 stroller users        1504 Jan 17 23:47 .Maildir
   [EMAIL PROTECTED] stroller $

ok, I'm getting closer I think... It lets me log in now, but it does not
show any message folders. Not even my inbox.

Good. This is at least some improvement.


I suggest that you configure a client machine which already has some other POP3 server & a local mailbox. Try adding the server as IMAP & dragging a message from the local folders to the IMAP inbox. I think you'll find it shows up. Some email clients will allow you to make a new sub-folder on an IMAP server - I think that if you try this, then `ls -a yourmaildir` on the server then you'll see what's wrong with your current configuration.

I noticed the maildirmake. I even ran maildirmake /home/dan/.mail/inbox, and
it said it created it. But despite the folder being present and having the
new, cur and tmp folders inside of it, cur containing messages (hundreds of
them) it does not show in my imap list. The pop system seems to be working
fine now that I set the pop3d MAILDIR property to .mail/inbox then I see
ONLY the inbox. Despite having around 10 folders there including the inbox.

Well, POP3 doesn't support subfolders, so you would only expect to see the inbox that way.


Let me re-state my desired config for the imap system and you can tell me
what I've done wrong... user sally has procmail setup so that messages from
[EMAIL PROTECTED] goes to the steve folder, and everything else goes to
the normal inbox. So her setup looks like:


.mail
inbox steve

.mail/inbox
cur new tmp

.mail/steve
cur new tmp

Ok... I think this is where your understanding is flawed.


There is NO separate inbox. .mail IS the inbox - that's why it has cur/new/tmp. "steve" should be a subfolder of INBOX, and made with `maildirmake -f Steve ~/.mail`

Let's take a look at my configuration:

$ sudo grep -i maildir /etc/courier-imap/imapd
#Hardwire a value for ${MAILDIR}
MAILDIR=.Maildir
[EMAIL PROTECTED] stroller $ ls -a ~ | grep -i maildir
.Maildir
$ cd ~/.Maildir/
$ ls
courierimapkeywords courierimapsubscribed courierimapuiddb cur new tmp
$ ls -ad .[A-G]*
.BMW Lists .Geek.FreeDNS User
.BMW Lists.Airheads .Geek.Halime
.BMW Lists.UK Club .Geek.Linux
.Drafts .Geek.Linux.Bogofilter List
.EuroPG .Geek.Linux.Gentoo Lists
.EuroPG.Archived .Geek.Linux.Gentoo Lists.Dev
.Geek .Geek.Linux.Gentoo Lists.User
.Geek.Apple .Geek.Linux.Leafnode List
.Geek.Apple.Lists .Geek.Linux.mgetty List
.Geek.Apple.Lists.Gentoo-osx .Geek.Parsec Lists
.Geek.Apple.Lists.OS X For Users .Geek.SGI
.Geek.Apple.Lists.USB .Geek.Vaio Lists
.Geek.Apple.Lists.Unix For OS X
$ maildirmake -f A\ New\ Folder ./
[EMAIL PROTECTED] .Maildir $ ls -ad .[A-G]*
.A New Folder .Geek.Apple.Lists.Unix For OS X
.BMW Lists .Geek.FreeDNS User
...


Hope this clarifies,

Stroller.


-- [EMAIL PROTECTED] mailing list



Reply via email to