-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 18 Jul 2014, Burak Arslan wrote:

I added this to the configuration:

namespace {
 type = public
 separator = .
 prefix = public.
 location = maildir:/var/mail/public
 subscriptions = no
 list = yes
}

and I can list maildirs inside these folders correctly. however, I can't
see any subfolders.

The issue seems to be that /var/mail/public dir itself is interpreted as
a maildir directory.

However, what I'd like to do is to have a bunch of directories inside
/var/mail/public and treat them as separate maildirs. (I'd like to use
this to make a few existing mailboxes public)

is this possible?

Not that I know of.

You could use shared mailboxes: http://wiki2.dovecot.org/SharedMailboxes/Shared

Another Workaround might be to run a cron job to symlink mailboxes of "public" mailboxes into /var/.../public, e.g.:

/var/mail/user1/Maildir/{cur,new,tmp}
/var/mail/user1/Maildir/.box1/{cur,new,tmp}

- ->

ln -s /var/mail/user1/Maildir /var/mail/public/.user1
ln -s /var/mail/user1/Maildir/.box1 /var/mail/public/.user1.box1

Be aware of permission problems, e.g. all user might be able to delete change mails in the public mailboxes.

a.s.o.

- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBU8y6jnz1H7kL/d9rAQK06Af/VTVfeXZdEf52JVMmSTLVx3a0Yz3rNtKm
m7i9DAx1L2rx6DgYQsFk4k6DubGG1CG2w/kgOQMBLcpbw8BktP8EFrXkP9AVQUET
E8qg0intM4k8ToLmbV/gvZberZpVhlBv1Gs1LOXYs76TZQqTWvbyJ+NVd6M2DQ3V
gQ6bSDpzepOSUGuH/FydyFNycwEVHRLJ5IiA1jJyPryB6ScyP/SM42RHn3Uf95hv
DGvnnXie9L0pIuBhB1iXrBngCbezXX1t1Ekp/b6n2Av/XXkkRERJ9C7yHj+09SQj
5yDDcKITD8cJq7a+gS093OWZpzjdf1kYWfYaGxxWB2LVAUayWtYSeg==
=k6KM
-----END PGP SIGNATURE-----

Reply via email to