Hi all, let me ask a question, please. Is it possible in dovecot to set up per user special-use folder names? Imagine situation with two users where first prefere another language that second. mailbox Sent { special_use = \Sent } for english speaking users and mailbox "Odeslan? po?ta" { special_use = \Sent } for czech speaking users. Thanks for your answers. Radek
* Radek Novotn? <radikn at seznam.cz>:> Hi all, > > let me ask a question, please. Is it possible in dovecot to set up > per user special-use folder names? > > Imagine situation with two users where first prefere another > language that second.You don't need per-user folder SPECIAL-USE names, because the client must take care of the correct mapping. If the client runs in an German environment it might mount the "special_use \Sent" mailbox as "Gesendete Objekte" and if it is Czechian it might call it "Odeslan? po?ta". That's part of what makes SPECIAL-USE so sexy. It is language independent. All it does is say "This mailbox is reserved for that particular usage." How you call it, is up to you (client). p at rick> > mailbox Sent { > special_use = \Sent > } > > for english speaking users and > > mailbox "Odeslan? po?ta" { > special_use = \Sent > } > > for czech speaking users. > > > > Thanks for your answers. Radek-- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
On Wed, 6 Feb 2013, Michael M Slusarz wrote:> Quoting Patrick Ben Koetter <p at sys4.de>: > >> That's part of what makes SPECIAL-USE so sexy. It is language independent. >> All it does is say "This mailbox is reserved for that particular usage." How >> you call it, is up to you (client). > > Well.... not quite. The problem comes when you have *multiple* sent > mailboxes on your server, which is perfectly acceptable and quite > useful (e.g. an MUA allows multiple identities, and each identity uses > a separate sent-mail mailbox). You can't just blindly show the local > translation for "Sent" for all of the mailboxes, or else you've now > eliminated the user's ability to differentiate between them.On a related topic, what's the easiest way to alias various common mailbox names to one physical mailbox? For example, mapping "Trash", "Deleted Messages", "Junk" to the same mailbox? Would you use the SPECIAL-USE, or is there a better way to do this? Namescape configuration? Virtual plugin? Joseph Tam <jtam.home at gmail.com>
On 5.2.2013, at 21.52, Radek Novotn? <radikn at seznam.cz> wrote:> let me ask a question, please. Is it possible in dovecot to set up per user special-use folder names? > > Imagine situation with two users where first prefere another language that second. > > mailbox Sent { > special_use = \Sent > } > > for english speaking users and > > mailbox "Odeslan? po?ta" { > special_use = \Sent > } > > for czech speaking users.Like Patrick mentioned this isn't how it should be used.. But it would be possible anyway by returning the proper settings from userdb lookup. Easier probably set both of these in the namespace, then only configure which one will be autocreated (only if both mailboxes are created the client sees two \Sent flags). The autocreation can be made per-user by returning namespace/inbox/Sent/auto=create or namespace/inbox/Odeslan? po?ta/auto=create field from userdb.
On Wed, 6 Feb 2013, Timo Sirainen wrote:>> On a related topic, what's the easiest way to alias various common >> mailbox names to one physical mailbox? For example, mapping "Trash", >> "Deleted Messages", "Junk" to the same mailbox? >> >> Would you use the SPECIAL-USE, or is there a better way to do this? >> Namescape configuration? Virtual plugin? > > Ideally SPECIAL-USE will take care of it in future. For now you should > configure it, but also realize that it won't work for all clients. > There's also mailbox_alias plugin in v2.1.10+: > http://wiki2.dovecot.org/Plugins/MailboxAlias (the link will work in a > few minutes).Perfect. I added a link to this page to the parent Plugins page Joseph Tam <jtam.home at gmail.com>