[Dovecot] questions about SPECIAL-USE and virtual
Hi,
I have some questions about Special-Use and virtual namespace:
I want to create a virtual namespace with mailboxes: Sent, Unread, Flagged, All.
- Is it enough to put in the config file: mailbox virtual/Sent { auto = subscribe special_use = \Sent } mailbox virtual/Unread { auto = subscribe special_use = \Unread #Is it correct? } mailbox virtual/Flagged { auto = subscribe special_use = \Flagged } mailbox virtual/All { auto = subscribe special_use = \All }
and it would displays mail from every namespace I have subscribed (Shared, Public)?
OR I have to make also dovecot-virtual files?
- In dovecot-virtual file can I put for mailbox virtual/Sent something like:
- \Sent
Is the http://wiki2.dovecot.org/Plugins/Virtual full documented, if not , where can I find it?
Is there a documentation for Special-Use?
-- Łukasz
On 23.4.2012, at 15.27, l.chelchowski@eurocar.pl wrote:
I have some questions about Special-Use and virtual namespace:
I want to create a virtual namespace with mailboxes: Sent, Unread, Flagged, All.
- Is it enough to put in the config file: mailbox virtual/Sent { auto = subscribe special_use = \Sent }
You have to put the mailbox {}es inside the namespace {} you want. Otherwise it just gives "unknown section" error.
OR I have to make also dovecot-virtual files?
You have to do this also. The mailbox {} sections don't do anything magically different. They simply add the \Sent flag. The auto=subscribe can automatically subscribe the virtual mailbox, but it can't automatically create it, because new virtual mailboxes can't be created by IMAP clients.
- In dovecot-virtual file can I put for mailbox virtual/Sent something like:
- \Sent
No. I'm not sure what you'd want that to do. There is no \Sent message flag.
- Is the http://wiki2.dovecot.org/Plugins/Virtual full documented, if not , where can I find it?
The only other documentation is the code.
- Is there a documentation for Special-Use?
On 2012-04-23 8:33 AM, Timo Sirainen tss@iki.fi wrote:
The auto=subscribe can automatically subscribe the virtual mailbox, but it can't automatically create it, because new virtual mailboxes can't be created by IMAP clients.
Hmmm...
Thunderbird has the ability to create virtual mailboxes too, but obviously they are created and handled locally, not on the server...
How much trouble would it be to add an API so that an IMAP client *could* create and manage them on a dovecot server? And Maybe this would be a good candidate for an RFC spec?
--
Best regards,
Charles
On 23.4.2012, at 15.47, Charles Marcus wrote:
On 2012-04-23 8:33 AM, Timo Sirainen tss@iki.fi wrote:
The auto=subscribe can automatically subscribe the virtual mailbox, but it can't automatically create it, because new virtual mailboxes can't be created by IMAP clients.
Hmmm...
Thunderbird has the ability to create virtual mailboxes too, but obviously they are created and handled locally, not on the server...
How much trouble would it be to add an API so that an IMAP client *could* create and manage them on a dovecot server? And Maybe this would be a good candidate for an RFC spec?
There have been a few drafts about virtual mailboxes, but they died at some point. I guess it could be implemented, but I'm less certain that there's actual need for it.
participants (3)
-
Charles Marcus
-
l.chelchowski@eurocar.pl
-
Timo Sirainen