On Thu, 13 Dec 2001, Petr Hruzek wrote: > Hi all. > > Could you please tell me your opinion regarding the following implementation of >XMail? We would like to set up a free mail service > (something similar to hotmail, yahoo etc.) using XMail. Users will get free 20 MB >mailbox with SMTP and POP3 access and with an > access through web interface (webmail). > > My main problem is with that webmail interface. I want it to have a messages >organized into a folders (INBOX, OUTBOX, DELETED, > DRAFTS + some custom). INBOX folder must be the same as XMail's >"domains/domain/user/mailbox/" folder, i.e. messages in this webmail > folder INBOX must be still accessible by the POP3, since other webmail folders not. >So far this is pretty easy. But. But I want all > webmail folders _TOGETHER_ to have a 20 MB size. For example, if there will be >messages of total size 7 MB in the mailbox (= INBOX) > and messages of total size 13 MB in the other webmail folders, XMail _MUST_ respond >with the "Mailbox full" error code to all newly > incoming messages. > > After two days of thinking I found one possible solution. INBOX will be physicaly >the same folder as XMail's > "domains/domain/user/mailbox/" folder and the other webmail folders will be stored >inside it, i.e. > "domains/domain/user/mailbox/drafts/", "domains/domain/user/mailbox/outbox" etc. >After some testing I found that this will exactly > do what I want, but I am not sure if this is the best possible solution, nor if it >is allowed to create directories under > "domains/domain/user/mailbox/".
Don't do it in this way or you're going to have conflicts with XMail 2.0 with IMAP :) I would rather keep all files inside the mailbox and have an extra file that will have mailbox grouping. Something like : [INBOX] msg-filename-1 .... [finance] .... - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
