Ilja Booij <[EMAIL PROTECTED]> said: > > On Mon, 2004-04-26 at 10:00, Ilja Booij wrote: > > On Mon, 2004-04-26 at 06:17, Aaron Stone wrote: > > > Yes, that's exactly why I added the automatic mailbox creation! Well, half of > > > it. The other reason is that when Sieve is ready, a script that directs > > > certain mail into some mailbox will create the mailbox on the fly. > > > > > > Ilja, do you want to pull the INBOX code? > > > > I see no reason not to remove it :) > > > > I'll do it right away! > > Come to think of it.. Won't this give us a problem when a user tries to > log in to POP or IMAP when no message is delivered yet? > > for IMAP, a user always needs an INBOX. Of course, we could always run > find_create_mailbox("INBOX") on every login. What do you guys think? > > Ilja
To keep the auth/db separation, maybe the mailbox creation call could be made from the top level of dbmail-adduser? The overhead of running find_create_mailbox() on each login would be fairly low, since I'd guess that 90% of users would be looking for an INBOX, and the find part of find_create is just as quick as just a find. Hmm... I'm still kind of attached to the idea that mailboxes are created if something needs to be delivered, and not necessarily when you go looking. Aaron > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > --