[imp] hiding non-email IMAP-folders in IMP

Jan Schneider jan at horde.org
Fri Jan 4 19:03:31 UTC 2008


Zitat von Mike Gabriel <m.gabriel at das-netzwerkteam.de>:

> hi michael,
>
> On Donnerstag 03 Januar 2008, you wrote:
>> Quoting Mike Gabriel <m.gabriel at das-netzwerkteam.de>:
>> > hi there,
>> >
>> > i am using kolab-2.1 and horde-webmail-1.1rc1.
>> >
>> > is there a possibility to completely hide non-mail IMAP folders in imp
>> > (i.e. folders containing events, tasks, contacts, etc.)?
>> >
>> > currently i am using $conf[hooks][mbox_redirect] and
>> > $conf[hooks][mbox_icon] to hide the contents of non-mail folders which
>> > already works fine but creates a great portion of redundancy.
>> >
>> > however, it would be really nice to have non-mail folders conmpletely
>> > invisible in imp and only show them in the "Organize" menu subtree.
>> >
>> > any ideas?
>>
>> Isn't this automatically done by the Kolab code located in hooks.php?
>> Or am I not understanding the issue?
>
> no! without any hooks, non-mail folders are shown as normal mail folders
> (folder icon) and the content of these folders (i.e. mails with
> kolab-specific attachments) are displayed in imp.
>
> with the above named hooks enabled in hooks.php (those meant to be  
> for kolab),
> folders of type "event" link to kronolith, folders of type "task" link to
> nag, etc. and the ordinary folder icon is replaced by an event icon, task
> icon, etc.
>
> what i ask for is hiding the non-mail folders completely. i have 4 tasks
> folders, 5 calendar folders and 3 address book folders (all with different
> ACLs). hiding these folders would render a much better overview for pure mail
> folders...

Use IMAP subscriptions.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list