It's implemented now in dovecot-2.1 hg. It also deprecates autocreate plugin (but it still works the old way). The idea is that you can now do e.g.: mailbox Trash { auto = no special_use = \Trash } mailbox Drafts { auto = no special_use = \Drafts } mailbox Sent { auto = subscribe # autocreate, autosubscribe special_use = \Sent } mailbox Spam { auto = create # autocreate, but don't autosubscribe special_use = \Junk } mailbox virtual/All { # if you have a virtual "All messages" mailbox auto = no special_use = \All } The mailbox names require a namespace prefix, so if you use e.g. "INBOX." prefix you'll need to use: mailbox INBOX.Trash { ..etc..
On 2011-12-02 16:12, Timo Sirainen wrote:> It's implemented now in dovecot-2.1 hg. It also deprecates autocreate plugin (but it still works the old way). The idea is that you can now do e.g.:> mailbox Spam { > auto = create # autocreate, but don't autosubscribe > special_use = \JunkThis looks very nice. Thanks Timo. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
On 2011-12-02 22:22, dovecot-request at dovecot.org wrote: > It's implemented now in dovecot-2.1 hg. It also deprecates autocreate > plugin (but it still works the old way). The idea is that you can now > do e.g.: > > mailbox Trash { > auto = no > special_use = \Trash > } > ... This is great Timo. But for solving the localization problem for special-use folders, it's only half the way. Are there any plans to support RFC5464 SETMETADATA, so individual users can name their "\Trash" folder "Skraldspand" in danish or what ever they prefer? /Peter
Guess the next nice step would be to get sieve scripts to be able to use the aliased special use folders. So you can just say, fileinto \Spam; Quoting Patrick Ben Koetter <p at state-of-mind.de>:> * A.L.E.C <alec at alec.pl>: >> On 06.12.2011 13:43, Patrick Ben Koetter wrote: >> >> > From my understanding RFC 6154 serves to flag some IMAP mailboxes >> in order to >> > indicate they should be used for special use e.g. as trash folder etc. >> > >> > I fail to see how RFC 6154 would help displaying localized mailbox names. >> >> Ok. It will not help for existing folders, but will allow creation of >> special-use folders with any name. > > Yes. And on top of that a MUA should detect these SPECIAL-USE folders and > automagically map its special folders (trash, archive, sent, drafts, etc.) to > the servers SPECIAL-USE mailboxes. > > This should take place transparently and the special folders should carry > localized mailbox names e.g. "Sent" or "Gesendet" or "..." > > At least that was my motivation to initiate that RFC about two years ago and > getting closer to that goal was the reason to sponsor this feature in Dovecot > 2.1. > > p at rick > > -- > state of mind () > Digitale Kommunikation > > http://www.state-of-mind.de > > Franziskanerstra?e 15 Telefon +49 89 3090 4664 > 81669 M?nchen Telefax +49 89 3090 4666 > > Amtsgericht M?nchen Partnerschaftsregister PR 563
On Fri, 2011-12-02 at 17:12 +0200, Timo Sirainen wrote:> The mailbox names require a namespace prefix, so if you use e.g. "INBOX." prefix you'll need to use:I changed these so that they are inside namespace {} section and don't require namespace prefix in the name. That way I can include common mailbox definitions in example-config and still allow the namespace prefix to be easily changed. I'm anyway now wondering what the defaults should be? Could someone check what these defaults are for Outlook and any other clients you have: * "Drafts" is used by all clients * "Trash" is used by all clients * "Junk" is used by all clients? Or is "Spam" used by some? * "Sent" is used by Thunderbird, Evolution * "Sent Messages" is used by Apple Mail So I'm mainly wondering about "Sent" vs. "Sent Messages".
Quoting Patrick Ben Koetter <p at state-of-mind.de>:> * A.L.E.C <alec at alec.pl>: >> On 06.12.2011 13:43, Patrick Ben Koetter wrote: >> >> > From my understanding RFC 6154 serves to flag some IMAP mailboxes >> in order to >> > indicate they should be used for special use e.g. as trash folder etc. >> > >> > I fail to see how RFC 6154 would help displaying localized mailbox names. >> >> Ok. It will not help for existing folders, but will allow creation of >> special-use folders with any name. > > Yes. And on top of that a MUA should detect these SPECIAL-USE folders and > automagically map its special folders (trash, archive, sent, drafts, etc.) to > the servers SPECIAL-USE mailboxes. > > This should take place transparently and the special folders should carry > localized mailbox names e.g. "Sent" or "Gesendet" or "..."Except the localization conversions should be done on the MUA level, not the mailstore level (see, e.g., INBOX). As Timo noted in another message in this thread, for the most part there has been a informal standardization of special mailbox names to their English equivalents. There is really no reason to move away from this standardization, especially for MUAs that do not yet support RFC 6154 but may support a form auto-detection of common special mailbox names. michael
* Michael M Slusarz <slusarz at curecanti.org>:> Quoting Patrick Ben Koetter <p at state-of-mind.de>: > > >* A.L.E.C <alec at alec.pl>: > >>On 06.12.2011 13:43, Patrick Ben Koetter wrote: > >> > >>> From my understanding RFC 6154 serves to flag some IMAP > >>mailboxes in order to > >>> indicate they should be used for special use e.g. as trash folder etc. > >>> > >>> I fail to see how RFC 6154 would help displaying localized mailbox names. > >> > >>Ok. It will not help for existing folders, but will allow creation of > >>special-use folders with any name. > > > >Yes. And on top of that a MUA should detect these SPECIAL-USE folders and > >automagically map its special folders (trash, archive, sent, drafts, etc.) to > >the servers SPECIAL-USE mailboxes. > > > >This should take place transparently and the special folders should carry > >localized mailbox names e.g. "Sent" or "Gesendet" or "..." > > Except the localization conversions should be done on the MUA level, > not the mailstore level (see, e.g., INBOX).I believe that is exactly what I said in my lines above.> As Timo noted in another message in this thread, for the most part > there has been a informal standardization of special mailbox names > to their English equivalents. There is really no reason to move > away from this standardization, especially for MUAs that do not yetWhere in my posting did I say I want to move away from that standard?> support RFC 6154 but may support a form auto-detection of common > special mailbox names.p at rick -- state of mind () http://www.state-of-mind.de Franziskanerstra?e 15 Telefon +49 89 3090 4664 81669 M?nchen Telefax +49 89 3090 4666 Amtsgericht M?nchen Partnerschaftsregister PR 563
On 12/07/2011 08:56 AM, Timo Sirainen wrote:> On 7.12.2011, at 17.45, Willie Gillespie wrote: > >> Outlook 2010 lets you select a mailbox for Trash and Sent (version 2007 only lets you select a mailbox for Sent messages). >> Outlook default names for Trash is "Deleted Items" (as someone pointed out) and for junk is "Junk E-mail". > > And the default name for Sent is "Sent Items"?Yes
> Date: Wed, 07 Dec 2011 00:49:49 +0200> From: Timo Sirainen <tss at iki.fi> > Subject: Re: [Dovecot] IMAP SPECIAL-USE extension > > I did this: http://hg.dovecot.org/dovecot-2.1/rev/9b9a206395f7 Just to add to the confusion: Pine/Alpine uses "sent-mail" :(