On Thu, Nov 14, 2002 at 10:05:11AM +0100, Lilla wrote:
> Hi,
> 
> Anyone know if there are any plans on implementing SM so that it can 
> handle the Maildir directly instead of going over IMAP? With that 
> everything would be speeded up alot!

Yes, but then you would have to add to SquirrelMail a whole set of
functions that are carried out by the IMAP server.  You would, in fact,
have to create an IMAP emulation layer that took the IMAP commands
generated by the rest of the SM code and translated them into local
actions, translating the results back into IMAP result codes.  This
layer would have to take care of mailbox-locking, authentication etc and
be portable across all the many operating systems on which SquirrelMail
is currently run.

It's possible and I wouldn't stop someone from trying to write it, but
it isn't a trivial task.  And as you say, there are perfectly good webmail
clients that do maildir.  

> Now when using IMAP every click in 
> the browser creates and closes a new IMAP-connection which takes long 
> time. If you have over hundred of users at the same time the server is 
> very slow even if you got good hardware.

IMAP access to mail imposes a higher load on a system than direct mail
access whatever the client (SquirrelMail, Outlook, Evolution etc).  On
the other hand, good IMAP implementations offer many benefits (a portable
standard, remote access for any client that supports the standard, ACLs,
the fact that authentication, mailbox locking and other mail-access
features are transparently managed) and people who want to enjoy them
need to choose a hardware and software combination that *does* scale to
their needs.

> Maybe it could be implemented in SM?
> Maybe one could create a plugin or something that could let SM to handle 
> Maildir directly?

It would need more than a plugin: the core IMAP code would need to be
rewritten to allow for virtual IMAP implementations.  Then people could
start work on plugins.

-- 
Bruce


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
--
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