Hello,
I'm hosting a few customers on a dovecot Server. Most users speak german and have german as their main language. I configured the IMAP Foldernames in a Dovecot configuration file like this:
##### root@srv04:~# cat /etc/dovecot/conf.d/105-mailboxes.conf imap_capability = +XLIST
namespace inbox { inbox = yes location = separator = /
mailbox "Entwürfe" { auto = subscribe special_use = \Drafts auto=subscribe }
mailbox Junk-E-Mail {
special_use = \Junk
auto=subscribe
}
mailbox "Gelöschte Elemente" {
special_use = \Trash
auto=subscribe
}
mailbox "Gesendete Elemente" {
special_use = \Sent
auto=subscribe
}
mailbox Archive {
special_use = \Archive
auto=subscribe
}
} ##### Dovecot Version: 2.3.10 (0da0eff44) ##### Is it possible to change this configuration for specific users or to provide multi language support somehow?
Thanks in advance. Best regards, Luca
+1
-------- Original Message -------- On 7 Jul 2020, 08:38, Luca Müller < lucamueller037@gmail.com> wrote: Hello,
I'm hosting a few customers on a dovecot Server. Most users speak german and have german as their main language. I configured the IMAP Foldernames in a Dovecot configuration file like this:
##### root@srv04:~# cat /etc/dovecot/conf.d/105-mailboxes.conf imap_capability = +XLIST
namespace inbox { inbox = yes location = separator = /
mailbox "Entwürfe" { auto = subscribe special_use = \Drafts auto=subscribe }
mailbox Junk-E-Mail { special_use = \Junk auto=subscribe } mailbox "Gelöschte Elemente" { special_use = \Trash auto=subscribe } mailbox "Gesendete Elemente" { special_use = \Sent auto=subscribe } mailbox Archive { special_use = \Archive auto=subscribe }
} ##### Dovecot Version: 2.3.10 (0da0eff44) ##### Is it possible to change this configuration for specific users or to provide multi language support somehow?
Thanks in advance. Best regards, Luca
On 07 Jul 2020, at 00:38, Luca Müller <lucamueller037@gmail.com> wrote:
Is it possible to change this configuration for specific users or to provide multi language support somehow?
What happens if you use the default English labels?
On my clients, the MUA localizes labels to the preferred language. I Have tested with Spanish and German in the past, and it seemed to work.
Of course, that depends onto MUA you are using, but it's worth a try.
-- I have NOT lost my mind! I've got a backup around here somewhere.
Hi,
yes, you can override these settings by returning variables from userdb.
for example can define:
namespace INBOX { inbox = yes location = separator = / mailbox Spam { auto = suscribe special_use = \Junk hidden = yes } mailbox Roskaposti { auto = subscribe special_use = \Junk hidden = yes } }
and then from userdb return:
mailbox/inbox/mailbox/Spam/hidden=no or mailbox/inbox/mailbox/Roskaposti/hidden=no
if to show the language specific Spam folder.
Sami
On 7. Jul 2020, at 9.38, Luca Müller <lucamueller037@gmail.com> wrote:
Hello,
I'm hosting a few customers on a dovecot Server. Most users speak german and have german as their main language. I configured the IMAP Foldernames in a Dovecot configuration file like this:
##### root@srv04:~# cat /etc/dovecot/conf.d/105-mailboxes.conf imap_capability = +XLIST
namespace inbox { inbox = yes location = separator = /
mailbox "Entwürfe" { auto = subscribe special_use = \Drafts auto=subscribe }
mailbox Junk-E-Mail { special_use = \Junk auto=subscribe } mailbox "Gelöschte Elemente" { special_use = \Trash auto=subscribe } mailbox "Gesendete Elemente" { special_use = \Sent auto=subscribe } mailbox Archive { special_use = \Archive auto=subscribe }
} ##### Dovecot Version: 2.3.10 (0da0eff44) ##### Is it possible to change this configuration for specific users or to provide multi language support somehow?
Thanks in advance. Best regards, Luca
On 7. Jul 2020, at 19.46, Sami Ketola <sami.ketola@dovecot.fi> wrote:
Hi,
yes, you can override these settings by returning variables from userdb.
for example can define:
namespace INBOX { inbox = yes location = separator = / mailbox Spam { auto = suscribe special_use = \Junk hidden = yes } mailbox Roskaposti { auto = subscribe special_use = \Junk hidden = yes } }
and then from userdb return:
mailbox/inbox/mailbox/Spam/hidden=no or mailbox/inbox/mailbox/Roskaposti/hidden=no
sorry. I meant namespace/inbox/mailbox/Spam/hidden=no or namespace/inbox/mailbox/Roskaposti/hidden=no
Sami
if to show the language specific Spam folder.
Sami
On 7. Jul 2020, at 9.38, Luca Müller <lucamueller037@gmail.com> wrote:
Hello,
I'm hosting a few customers on a dovecot Server. Most users speak german and have german as their main language. I configured the IMAP Foldernames in a Dovecot configuration file like this:
##### root@srv04:~# cat /etc/dovecot/conf.d/105-mailboxes.conf imap_capability = +XLIST
namespace inbox { inbox = yes location = separator = /
mailbox "Entwürfe" { auto = subscribe special_use = \Drafts auto=subscribe }
mailbox Junk-E-Mail { special_use = \Junk auto=subscribe } mailbox "Gelöschte Elemente" { special_use = \Trash auto=subscribe } mailbox "Gesendete Elemente" { special_use = \Sent auto=subscribe } mailbox Archive { special_use = \Archive auto=subscribe }
} ##### Dovecot Version: 2.3.10 (0da0eff44) ##### Is it possible to change this configuration for specific users or to provide multi language support somehow?
Thanks in advance. Best regards, Luca
participants (4)
-
@lbutlr
-
Luca Müller
-
Rupert Gallagher
-
Sami Ketola