From: saturne <sa...@eu...> - 2002-12-14 03:39:16
|
hi I would like to say a great cheer to all those which took part in the development of squirrelmail. squirrelmail is very good about his system but ...I allow myself to make some proposals with those which developpent the source of squirrelmail. the slowness of squirrelmail comes from several small things, of which some, I think, can be solved in the near future. squirrelmail is a project GNU which must be able to be appropriate has a maximum of users, on a maximum of platforms, with a maximum of extensions, and several use potential.taking into account these engagements, squirremail will be forcing slower than if it were adapted to only one manner of use (mysql for example), and adaptable to only one type of waiter configured in a certain manner (the breakage-neck can always improve the code to reduce all that, with their own risks and dangers;) one knows, (I say sorry) and it is quite real, "opening writing reading closing" of a file is much heavier for a waiter than the reading in a base of data. To propose the alternative of all to be able to pass in data base for those which wish it would be to improve the speed of the application considerably. Several users say that the opening of squirrelmail is slow I counted that it verifiait on average 3 times the session by action, that is to say has the opening (I counted) a total of 9 times (without spoken about the creation of the session). I propose: possibility of using the session in a data base (i think that really will accelerate the opening) I also propose for a saving in space in the data bases (it is really enormous there, for those which badly have many users) to create another table with a field "iduser" and a field "user", and make a function of pre-requete to be on having the id (I believe that in mysql, there is problems with "update" and relations) it is better to have for a user 20 int5( for example, i.e. 99 999 possible users) and only one 128 varchar, that like currently 20 128 varchar for 1 only user (and sometimes more) which is your opinion? Now i have a little question: in function attachSelectedMessages($msg, $imapConnection) $identity is in global, but i can't find it anywhere in all file (move_messages.php); is it significant in this file? . in reality, i modify $identity (now for me it's a username, not 0 1 ...), all squirrelmail work fine, but i've a problem with "forward". he write the mail in ../data/, but don't put it in attachment file (display and send). i don't understand why, because when i write a new message with a attachement file, all is good. attachement'file write, display, and delete when message was sent. an idea? maybe the problem is about code writing into session file, but i don't see why. Best regards |