Hello Michael,
On Monday, December 02, 2002, Michael Lougee wrote...

> Had a question about squirrelmail's login process. Running 1.2.9 on
> Solaris 9 with Apache 1.3.27/PHP 4.2.3. Currently it seems that SQML
> retrieves EVERY message from the user's mailbox even though it may
> be only set to display 15 or 25 or 30 messages. This results in a
> very slow login process to get to a user's inbox if they have a
> large amount of messages. First question is, am I correct in the
> fact that SQML retrieves all the messages at once regardless of what
> the display is set to? Second is can anyone make a recommendation on
> how to speed up the login, or point me to the code so I can hack it
> to only retrieve what is chosen to be displayed? Once logged in,
> SQML users do not have any issues. Any help would be most
> appreciated.

You are partially correct. It doesn't retrieve all the messages, but
just certain headers on all the messages in the INBOX. This is needed
so that we can calculate how many items per page, and who the mails
were sent from, the date, and the subject.

To try speeding it up a little bit, try turning ON server side
sorting. To do this, run conf.pl and go to option #4 and change
Server-Side sorting. This should speed things up a bit.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
--
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