Hi There,
I've written to the list several times regarding this
issue.. Search for something like UW IMAP slow
performace,etc..

The problem is that UW-IMAP by default uses mbox
format which is one big file for all messages. To
count messages or to even find out how many are
new/old, it has to open the entire file.. for a 6000
message folder, that's probably a big file. 

You want a mail server that will support maildir
format. In that format each message is a seperate
file.. Counting new/old messages is as simple as just
looking at the files in the directory (the filename
gives clues to it's status..) 

When I was using mbox, it took a few minutes to open
my mailbox (even with traditional IMAP clients..), now
that I use courier, it takes seconds.. It finally
makes IMAP *usable*.

Switching to courier (or anything else) is NOT
trivial. I noticed that the SM wiki suggested it is
rather easy. It really isn't unless you know what you
are doing, and arn't working with live servers..

Look in the archives for my previous posts. I
described how to do just this..
Basically:
1. Install Courier IMAP
2. Configure Courier to be on a unique port.. I picked
144 (bad choice, but didn't cause conflicts for me..)
3. Create a new instance of SM
4. Set up new instance to work with courier.. you MUST
pick the option from the mail SM configure screen to
load mail server defaults orTHIS WONT WORK.
5. Use an application called mb2md.pl to convert your
messages.
6. Fix Procmail to deliver new messages in maildir
format.
7. Ensure old procmail rules are corrected..


Good Luck,
Brett


--- "William R. Mussatto" <[EMAIL PROTECTED]> wrote:
> > William Mussatto wrote:
> >> I'm not sure why sendmail would be the issue. 
> Its more likely the
> >> program which handles IMAP (e.g., uw-imapd,
> courier) that is the
> >> issue.  In the case of uw-imapd with the standard
> 'mailbox' set up,
> >> the imapd program must read and parse the entire
> file which contains
> >> the messages to figure out which are the last 15.
>  This takes time.
> >> With a very large "mailbox" you could see a time
> out error.
> >
> > I haven't seen a timeout yet - my large mailbox
> has close to 6000
> > messages and growing..
> > But, from what you say, is there an alternative to
> imapd that will not
> > read the entire mailbox to find the last 15? What
> is your opinion of
> > courier?
> >
> > Thank you very much.
> >
> > Regards,
> > Somik
> No experience with anything but uw-imapd, sorry. BTW
> uw-imapd does have an
> alternative mailbox format which may scale better;
> however if you change
> formats you will need to look at procmail and
> probably sendmail to ensure
> they are modified to support the new format.  I'd
> try it out on a test box
> first to make sure you have all the steps down. 
> Google the archives for
> details its been discussed in some detail before.
> 
> 
> William R. Mussatto, Senior Systems Engineer
> Ph. 909-920-9154 ext. 27
> FAX. 909-608-7061
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now!
> Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> --
> squirrelmail-users mailing list
> List Address:
> [EMAIL PROTECTED]
> List Archives: 
>
http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info:
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


=====
---------------------------------------
Brett Nemeroff, MCP
WALLER CREEK COMMUNICATIONS
Engineer, Carrier Service Division
Office: 512-485-7915
Cell: 512-964-4268
Pager: 512-208-1722

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to