Re: [exim] Maildir Quota excluding Trash folder.

Top Page
Delete this message
Reply to this message
Author: Derek Listmail Acct
Date:  
To: exim-users
Subject: Re: [exim] Maildir Quota excluding Trash folder.
On Thu, April 20, 2006 2:51 am, Daniel Tiefnig wrote:
> Derek Listmail Acct wrote:
>
>> Exim is noticing the 'maildirfolder' file in the .Trash folder and
>> then incrementing the maildirsize file in the parent directory.
>
> But if exim is the one to create the IMAP Folder, it will not create
> this maildir file, because it's not aware it's delivering into a folder.
>
> So maybe a boolean option that tells exim it's delivering into a
> subfolder would do the trick... But what if exim delivers into a subfolder
> of a subfolder?


Subfolders aren't stored any differently than other folders, they just
have the period in them more than once. For example the two paths for
delivery would end up being:

$home/Maildir/.Folder/new
$home/Maildir/.Folder.Subfolder/new

> How can nonexistent subfolders be distinguished from
> nonexisting maildirs?


folders always begin with a period...

--Derek