[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
Am 18.02.2014 13:42, schrieb Sebastian Schäfer:
dovecot --version 1.2.15
thats 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
On 2014-02-18 14:28, Robert Schetterer wrote:
Am 18.02.2014 13:42, schrieb Sebastian Schäfer:
dovecot --version 1.2.15
thats very outdated, you should upgrade 2.1.x / 2.2.x latest
outdated ?, well its still very stable here on gentoo, and upgradeing is not just emerge dovecot, this is why i keep 1.2.17 self here
Am 19.02.2014 02:52, schrieb Benny Pedersen:
On 2014-02-18 14:28, Robert Schetterer wrote:
Am 18.02.2014 13:42, schrieb Sebastian Schäfer:
dovecot --version 1.2.15
thats very outdated, you should upgrade 2.1.x / 2.2.x latest
outdated?, well its still very stable here on gentoo, and upgradeing is not just emerge dovecot, this is why i keep 1.2.17 self here
can you stop that again and again?
- it IS outdated at all
- it IS outdated even if we speak about 1.2.x
participants (4)
-
Benny Pedersen
-
Reindl Harald
-
Robert Schetterer
-
Sebastian Schäfer