Sebastian Schäfer
2014-Feb-18 12:42 UTC
[Dovecot] Virtual folder for selected users only? (1.2.15)
hi, i want to set up virtual folders just for some users on our mailserver. the server is set up with a virtual system-user for each of our clients having multiple mailboxes/users (provided by dovecot-mysql). mailboxes are located: /var/mails/SYSUSER/MAILBOX f.e. my mailbox-folder is set to /var/mails/bergschaf/sebastian[at]bergschaf.net {homedir} = /var/mails {maildir} = bergschaf/sebastian[at]bergschaf.net user_query = SELECT homedir AS home, concat('maildir:', maildir) AS mail, uid, gid, concat('maildir:storage=', (quota*1024)) as quota FROM mail_users WHERE username = '%u' now i want to add virtual folders to my mailbox without affecting any other client/mailbox on the server. i already tried to add a namespace "virtual" like mentioned in the wiki and in some other hotwo-guides, but this points to the need to create a "virtual"-folder for each mailbox what i would like to avoid. (f.e. location = %h/%u/virtual => /var/mails/sebastian[at]bergschaf.net). is it possible to enable a namespace just for some selected users on the server? if that's not possible - i'm not sure how to set the location-directive correctly, because i can't find a variable pointing to the maildir: %u => sebastian[at]bergschaf.net %h => /var/mails ...but how should i point the location to {homedir}/{maildir}/virtual? thanks! sebastian dovecot --version 1.2.15
Robert Schetterer
2014-Feb-18 13:28 UTC
[Dovecot] Virtual folder for selected users only? (1.2.15)
Am 18.02.2014 13:42, schrieb Sebastian Sch?fer:> dovecot --version > 1.2.15thats very outdated, you should upgrade 2.1.x / 2.2.x latest Best Regards MfG Robert Schetterer -- [*] 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, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein