[Dovecot] IMAP SPECIAL-USE extension
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 = \Junk
This 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 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".
- Timo Sirainen dovecot@dovecot.org:
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".
Are you looking for US-English mailbox names only?
p@rick
-- state of mind ()
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
On Tue, 2011-12-06 at 23:26 +0100, Patrick Ben Koetter wrote:
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".
Are you looking for US-English mailbox names only?
Yeah, just some defaults that most people could use without changes. Although maybe if all of them were set with autocreate=no there could be alternatives added. Like:
mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent }
This way whichever mailbox the first client creates would be used as \Sent. Although if different clients create both of them there would then be two \Sent mailboxes. But the user would probably delete one of them and all would be good again.
Quoting Timo Sirainen tss@iki.fi:
On Tue, 2011-12-06 at 23:26 +0100, Patrick Ben Koetter wrote:
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?
'Spam' is also used. This one is probably a bit more site-specific.
- "Sent" is used by Thunderbird, Evolution
- "Sent Messages" is used by Apple Mail
So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
This way whichever mailbox the first client creates would be used as \Sent. Although if different clients create both of them there would then be two \Sent mailboxes. But the user would probably delete one of them and all would be good again.
This will continue to be an issue until more clients support the RFC.
michael
On 6 December 2011 17:48, Michael M Slusarz slusarz@curecanti.org wrote:
Quoting Timo Sirainen tss@iki.fi:
On Tue, 2011-12-06 at 23:26 +0100, Patrick Ben Koetter wrote:
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?
'Spam' is also used. This one is probably a bit more site-specific.
* "Sent" is used by Thunderbird, Evolution * "Sent Messages" is used by Apple Mail
So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
Certainly mine does, although I couldn't tell you which version. But then I've never seen an Exchange server that doesn't use that.
Simon
On Tue, 2011-12-06 at 18:02 -0500, Simon Brereton wrote:
- "Sent" is used by Thunderbird, Evolution
- "Sent Messages" is used by Apple Mail
So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
Certainly mine does, although I couldn't tell you which version. But then I've never seen an Exchange server that doesn't use that.
Exchange doesn't matter, but Outlook does. Does Outlook with IMAP also use "Sent Items" by default?
On 6 December 2011 18:14, Timo Sirainen tss@iki.fi wrote:
On Tue, 2011-12-06 at 18:02 -0500, Simon Brereton wrote:
* "Sent" is used by Thunderbird, Evolution * "Sent Messages" is used by Apple Mail
So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
Certainly mine does, although I couldn't tell you which version. But then I've never seen an Exchange server that doesn't use that.
Exchange doesn't matter, but Outlook does. Does Outlook with IMAP also use "Sent Items" by default?
It would appear to. But then I have a weird set-up, so may be it doesn't. On the Outlook I use at Work with Gmail a Sent Items is present. At home, with dovecot, it is not.
Simon
Am 07.12.2011 00:30, schrieb Simon Brereton:
On 6 December 2011 18:14, Timo Sirainen tss@iki.fi wrote:
On Tue, 2011-12-06 at 18:02 -0500, Simon Brereton wrote:
> * "Sent" is used by Thunderbird, Evolution > * "Sent Messages" is used by Apple Mail > > So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
Certainly mine does, although I couldn't tell you which version. But then I've never seen an Exchange server that doesn't use that.
Exchange doesn't matter, but Outlook does. Does Outlook with IMAP also use "Sent Items" by default?
It would appear to. But then I have a weird set-up, so may be it doesn't. On the Outlook I use at Work with Gmail a Sent Items is present. At home, with dovecot, it is not.
Simon
there is no outlook, speak of outlook versions and patchlevels, outlook versions are much different ! i would only concentrate only on the newest version
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 06.12.2011 23:48, schrieb Michael M Slusarz:
Quoting Timo Sirainen tss@iki.fi:
On Tue, 2011-12-06 at 23:26 +0100, Patrick Ben Koetter wrote:
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?
'Spam' is also used. This one is probably a bit more site-specific.
- "Sent" is used by Thunderbird, Evolution
- "Sent Messages" is used by Apple Mail
So I'm mainly wondering about "Sent" vs. "Sent Messages".
IIRC, at least some versions of Exchange use(d) "Sent Items".
at last , at now there is no way at outlook 2010 to configure default imap junk folder ( only with reg patches, or filters ) cause this folder is special used by some antispam detection internal outlook,i guess, hope this may change by MS someday
This way whichever mailbox the first client creates would be used as \Sent. Although if different clients create both of them there would then be two \Sent mailboxes. But the user would probably delete one of them and all would be good again.
This will continue to be an issue until more clients support the RFC.
michael
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Wed, 2011-12-07 at 00:35 +0200, Timo Sirainen wrote:
Yeah, just some defaults that most people could use without changes. Although maybe if all of them were set with autocreate=no there could be alternatives added. Like:
mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent }
I did this: http://hg.dovecot.org/dovecot-2.1/rev/9b9a206395f7
On Fri, 2011-12-02 at 17:12 +0200, Timo Sirainen wrote:
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
SquirrelMail (http://www.squirrelmail.org) and Hastymail2 (http://www.hastymail.org) webmail clients let you customize draft/trash/sent, but the defaults for both are Drafts, Trash, and Sent.
Tirsdag 6. desember 2011 14.58.04 skrev WJCarpenter:
On Fri, 2011-12-02 at 17:12 +0200, Timo Sirainen wrote:
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
SquirrelMail (http://www.squirrelmail.org) and Hastymail2 (http://www.hastymail.org) webmail clients let you customize draft/trash/sent, but the defaults for both are Drafts, Trash, and Sent.
Thunderbird also use a Templates folder.
Arne
Arne K. Haaje - Dr Linux
http://www.drlinux.no/
LinkedIn: http://no.linkedin.com/pub/arne-haaje/27/189/bb
On 12/07/2011 02:28 PM Arne K. Haaje wrote:
Thunderbird also use a Templates folder.
Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates.
Regards, Pascal
The trapper recommends today: face1e55.1134114@localdomain.org
- Pascal Volk dovecot@dovecot.org:
On 12/07/2011 02:28 PM Arne K. Haaje wrote:
Thunderbird also use a Templates folder.
Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates.
IIRC IETF allows to register new SPECIAL-USE mailboxes. 'templates' might be a good candidate.
p@rick
-- state of mind () Digitale Kommunikation
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
Am 07.12.2011 15:35, schrieb Patrick Ben Koetter:
- Pascal Volk dovecot@dovecot.org:
On 12/07/2011 02:28 PM Arne K. Haaje wrote:
Thunderbird also use a Templates folder.
Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates.
IIRC IETF allows to register new SPECIAL-USE mailboxes. 'templates' might be a good candidate.
p@rick
TB also has a archives folder as default
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 2011-12-07 8:55 AM, Pascal Volk user+dovecot@localhost.localdomain.org wrote:
On 12/07/2011 02:28 PM Arne K. Haaje wrote:
Thunderbird also use a Templates folder. Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates.
Nevertheless, it is very handy functionality... it isn't just a folder.
--
Best regards,
Charles
On 2011-12-06 5:13 PM, Timo Sirainen tss@iki.fi wrote:
- "Trash" is used by all clients
Outlook uses 'Deleted Items', not 'Trash'...
--
Best regards,
Charles
On 12/06/2011 03:13 PM, Timo Sirainen wrote:
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".
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".
Willie
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"?
Wonder if I should add those also to the example config..
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
participants (11)
-
A.L.E.C
-
Arne K. Haaje
-
Charles Marcus
-
Michael M Slusarz
-
Pascal Volk
-
Patrick Ben Koetter
-
Robert Schetterer
-
Simon Brereton
-
Timo Sirainen
-
Willie Gillespie
-
WJCarpenter