[Dovecot] Per user special-use folder names
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@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@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
Quoting Patrick Ben Koetter p@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.
In practical use, SPECIAL-USE isn't tremendously helpful for
"auto-configuration" of an MUA because of these kind of vagaries.
michael
On 5.2.2013, at 21.52, Radek Novotný radikn@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.
participants (4)
-
Michael M Slusarz
-
Patrick Ben Koetter
-
Radek Novotný
-
Timo Sirainen