Re: Webmail client
Mitar <[email protected]> Tue, 28 Dec 2004 02:06:19 +0100
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hi! On Tue, 28 Dec 2004 01:16:15 +0100, Mark Overmeer <[email protected]> wrote: > * Mitar ([email protected]) [041228 00:50]: > > I have been thinking long about making a webmail in Perl with > > extensive use of Mail::Box. > > Last week there was a debate about this as well. Tom Allison is > building something like that, on the moment, using HTML::FromMail > and IMAP. I know. That is why I started to doubt in Mail::Box efficiency. > Keep in mind that MailBox is meant to do e-mail batch-processing, > so your performance may be less that you wished for. But is not that similar to webmail? Open directory, parse header data for all mails, print them, close. :-) > I have a developed a fast cluster optimized folder type recently based on > MailBox, however that isn't open source/free (yet) Interesting. When can we expect this? > > Is it good idea to use Mail::Box for webmail which would read local > > maildir mailboxes and display them. > > Maildir is the best choice, presumably. You will need to implement > some "keep folder open" caching, but it is very well doable. Hm, yes. That would speed things up. But the problem is that if I open mailbox Mail::Box will lock it (or it will not?) and so any other proccess will not be able to access it. If it does not lock it, is it capable of detecting changes and reloading the content? Mitar