[horde] special_use folder

Michael M Slusarz slusarz at horde.org
Tue Apr 1 09:18:28 UTC 2014


Quoting Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> I'm currently playing with default folders.
>
> using horde/imp on an empty imap mailbox I could create a new folder  
> "Drafts".
> Its name is instantly translated to "Entwürfe" an the folder is  
> placed direct under
> "Posteingang". Also the folder get a special icon.
>
> Same happen if I use an existing imap mailbox containing a folder ".Drafts"
>
> Using the special_use feature I like to use mailboxes contain  
> folders ".draft"
> (notice the lower d and missing s)
>
> I configured dovecot to announce \Drafts flag on folders ".draft"
>
> # telnet imap 143
> ... login ...
> . list "" "%s" RETURN (SPECIAL-USE)
> * LIST (\Drafts) "." draft
> * LIST () "." INBOX
> . OK List completed.

Special-use is only used to select a default mailbox in the  
preferences page.  The locally configured drafts value takes preference.

Note that special-use is NOT designed to be used automatically by a  
MUA to configure mailboxes without user intervention.  The RFC is  
clear that these labels are intended as "advice"; "advice" !=  
"automatic configuration".

Someday it might be nice to display a configuration on initial login  
and/or if a change in special use mailbox status on the server is  
detected, and display the special use mailboxes as "suggested" values.  
  But we obviously don't have this right now.

> I have also this in horde/imp/config/backends-$SERVER_NAME.php
> <?php
> $servers['imap']['special_mboxes'][IMP_Mailbox::MBOX_DRAFTS] = 'Drafts';
>
> But still the folder "draft" is shown as normal folder.

Of course, since your are defining 'Drafts' as the draft folder for  
that backend, not 'draft'.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list