Re: Avoiding certain IMAP folders?

David Kulp <[email protected]> Fri, 11 Feb 2005 15:17:04 -0500
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Zoe wrote:
> 
> On Feb 11, 2005, at 19:34, David Kulp wrote:
> 
>> Could you give an example?
> 
> 
> 
> {
>     "inbox" = "true";
> }
> 
>>  Do you enclose it within a map
> 
> 
> Yes. The entire configuration file is a map.
> 
>>  and do you use the PL boolean type or just "true" and "false" strings?
> 
> 
> Nope. Plain "true" and "false"
> 
>> Does setting a folder to false work, yet?
> 
> 
> Hmmm... it has always worked... but perhaps not the way you think... if 
> you want to avoid a folder, simply don't list it in the first place... 
> otherwise, the boolean value indicates if ZOË should recurse in that 
> folder or not (ie look for sub-folders).
> 

Well, it apparently hasn't always worked based on the Wiki. It says:

   Can mail folders be excluded by specifing
   ThirdFolder=false
   in the properties config file?


	• As of v0.5.9 the true/false value is ignored. Any folder listed will 
be included.

If that's wrong, then I'll update the wiki.

I think it would be very beneficial to exclude specifically listed 
folders instead of listing the ones that you want.  I feel pretty 
certain that that's how most people would want it to work.  With your 
richer PL syntax it should be easy to do something like:

{ include = ("mail"); "exclude" = ("mail/folder1", "mail/folder2") }

where exclusions apply after inclusions and if no inclusions are 
specified then it defaults to everything.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click