Hey, Charlie!

On Thu, 13 Mar 2003, Charlie Brady wrote:
>On Thu, 13 Mar 2003, Andreas Aardal Hanssen wrote:
>>    to ~/Maildir should do the trick.
>I don't think this is necessary. INBOX location is a special case, and is
>a local policy issue. It should be configured. I think that a command line
>argument when the daemon is invoked is the way to go. My inbox is
>~/Maildir, so I would have the daemon come to life as me (execed by the
>authenticator) in my home directory, with a commandline argument of
>"Maildir". No parsing to be done, and no ambiguity about where INBOX is.
>(This is how qmail-pop3d works, no?) 

I don't want INBOX to be too special. I want INBOX to be a mailbox just
like all other mailboxes. That's my "dream". So if you have all your mail
in Maildir/ (like I also do), and that happens to be a Maildir (?), then
it will not be a leaf, which is not preferred but supported.

If Maildir/ is your INBOX then in this scheme the folder Maildir will be
your "mail depository" and "." will be your INBOX. If you choose to do
this, then any Maildir/INBOX folder will be ignored and the admin will be
notified via a silent log message that says "warning".

The advantage of placing all mailboxes inside a closed area like mail/ is 
that LIST will be more efficient, working only with mailboxes. But this
would be an admin setting.

>[Why would "mail/INBOX/" be preferred to "Maildir/" for INBOX?]
>I would then add a second command line argument which is the root of the
>folder tree. In your example this would be "./mail/". That argument could
>be optional, and would default to "./".

Agreed, this should be configurable.

>> Comments please, comments! :-D
>I'm in. Must dust off C++ skills. Let me know where I can help.
>You haven't mentioned uidvalidity location. Inside each maildir?

Yes - inside each Maildir we will store the Maildir uidvalidity and cache 
files. For other backends (in a galaxy far, far away) they would have to 
find their own way of storing uidvalidity.

Andy

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to