[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: slowwww IMAP



-- Justin Ryan <justin@gnubian.org> wrote
(on Thursday, 05 December 2002, 05:32 PM -0600):
> In any case, I'm trying to find a way to make my IMAP access faster. 
> I've considered converting to Maildir format but can't find an easy way
> to convert my existing mailboxes.  I've also evaluated moving from
> UW-IMAP to Courier, which would probably help as well.
Have you done a search on google for either "mbox to maildir" or
"mbox2maildir"? Both give some good results immediately (the latter is a
qmail tool that I used myself when converting from mbox to maildir --
though I was doing so so that my MTA [postfix] could deliver to maildir
so Courier-IMAP could be used).

> What I'm asking is, essentially, if there is any good documentation on
> moving from a very basic setup (unix mbox, sendmail going to unix
> accounts, etc..) to what seems to be a more complex setup.  As I
> understand it, courier likes to use its' own account database, and it
> would not be simple for procmail to filter into Maildirs.
This depends to great degree on whether or not you replace your MTA
(sendmail). I currently use Postfix as my MTA, and have Courier-IMAP
(note: not the Courier MTA) running as my IMAP server; with this setup,
procmail works just fine, and delivers mails efficiently to my maildir
setup.  Migration from sendmail to postfix was somewhat non-trivial, but
not terribly so; modifying my conf files in postfix to deliver to
maildir was a one-liner.

> If there are ways that I can improve performance _without_ mucking my
> config around, it would be preferred, though I am pretty much convinced
> at this point that I need to tear it up and start from scratch :)
I used uw-imap for about a month, and found it _much_too_slow_. Changing
to Courier-IMAP, and the subsequent migration to maildir format, sped
things up tremendously. Doing so did NOT require changing my underlying
MTA, only the mailbox format (and also the recipe format in procmail,
but that was fairly trivial).

There are patches available for uw-imap to enable maildir support
(google for "uw-imap maildir"), but I haven't tested any of these. I
presume that this might also help your speed problems, but you'll have
to try it yourself.

-- 
Matthew Weier O'Phinney
matthew@weierophinney.net



Reply to: