Autor: Marc Sherman Data: Para: exim-users CC: Marten Lehmann Asunto: Re: [exim] maildir_quota_directory_regex with subfolders
> On Mon, 11 Sep 2006, Marten Lehmann wrote: >
>> But on our server it seems, that subfolders beginning with a dot aren't
>> included. Does exim look into sub-subfolders? We have folders like this
>>
>> cur
>> new
>> .Junk/cur
>> .Junk/new
>> .Trash/cur
>> .Trash/new
Philip Hazel wrote: >> and so on and we have a lot of mailboxes, that are far above their limit.
>
> Without an experiment, I'm not sure. I note this comment in the code:
>
> "Maildirs can only be one level deep. However, this function recurses,
> so it might cope with deeper nestings."
>
> and in the document I have the describes Maildir++ and folders, it says
>
> "Can folders have subfolders, defined in a recursive fashion? The
> answer is no. If you want to have a client with a hierarchy of
> folders, emulate it. Pick a hierarchy separator character, say ":".
> Then, folder foo/bar is subdirectory .foo:bar."
You guys are talking past each other a bit, because Marten isn't using
the right terminology. Marten, the directories beginning with . are
called "Folders" in maildir++. The containing directory is called the
"Maildir". It is rendered in most IMAP clients as "Inbox". So the
section that Philip quotes above isn't talking about .Junk or .Trash;
rather, it's talking about non-existent children of those directories,
called something like ".Junk/.ThisSubfolderDoesntExist".