Re: [Dovecot] Shared folders, please help.!

2010-10-25 Thread Timo Sirainen
On Wed, 2010-10-20 at 09:06 +0200, Johan Hendriks wrote: > > (or really, you should be using home directories to avoid that > > whole /usr/local/virtual/%u/%n everywhere) > > I have read the the wiki and tried to use the home folder. > I created a dir /usr/home/virtual/ gave it the right permissio

Re: [Dovecot] Shared folders, please help.!

2010-10-20 Thread Johan Hendriks
2010/10/18 Timo Sirainen : > On Mon, 2010-10-18 at 16:18 +0200, Johan Hendriks wrote: >> > location = maildir:/usr/local/virtual/%%d/%%n:INDEX=/shared/%%n >> > >> I knew i missed something, and i tried a lot of options, but always >> leave that shared behind %%n >> the INDEX=/shared/%%n   where doe

Re: [Dovecot] Shared folders, please help.!

2010-10-18 Thread Timo Sirainen
On Mon, 2010-10-18 at 16:18 +0200, Johan Hendriks wrote: > > location = maildir:/usr/local/virtual/%%d/%%n:INDEX=/shared/%%n > > > I knew i missed something, and i tried a lot of options, but always > leave that shared behind %%n > the INDEX=/shared/%%n where does this point to? To /shared/user

Re: [Dovecot] Shared folders, please help.!

2010-10-18 Thread Johan Hendriks
2010/10/18 Timo Sirainen : > On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: >> >> namespace { >>    inbox = no >>    list = children >>    location = maildir:/usr/local/virtual/%%d/%%n/shared/:INDEX=/shared/%%n > > Somehow I missed this first: There's an extra "shared/" in the mail > loca

Re: [Dovecot] Shared folders, please help.!

2010-10-18 Thread Timo Sirainen
On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: > > namespace { >inbox = no >list = children >location = maildir:/usr/local/virtual/%%d/%%n/shared/:INDEX=/shared/%%n Somehow I missed this first: There's an extra "shared/" in the mail location. You're now telling Dovecot to a

Re: [Dovecot] Shared folders, please help.!

2010-10-18 Thread Johan Hendriks
2010/10/15 Timo Sirainen : > On Fri, 2010-10-15 at 13:47 +0100, Timo Sirainen wrote: > >> But you should have seen in logs at login time stuff like: >> >> Debug: Namespace : type=shared, prefix=shared/%d/%n/, sep=/, inbox=no, >> hidden=no, list=children, subscriptions=no >> location=maildir:%h/Ma

Re: [Dovecot] Shared folders, please help.!

2010-10-15 Thread Timo Sirainen
On Fri, 2010-10-15 at 13:47 +0100, Timo Sirainen wrote: > But you should have seen in logs at login time stuff like: > > Debug: Namespace : type=shared, prefix=shared/%d/%n/, sep=/, inbox=no, > hidden=no, list=children, subscriptions=no > location=maildir:%h/Maildir:INDEX=~/shared-index I adde

Re: [Dovecot] Shared folders, please help.!

2010-10-15 Thread Timo Sirainen
On Thu, 2010-10-14 at 20:12 +0200, Johan Hendriks wrote: > > This looks as if it's not even seeing the shared namespace. What does it > > log with mail_debug=yes? .. > Oct 14 19:58:29 beasty dovecot: imap-login: Login: > user=, method=PLAIN, rip=192.168.50.200, > lip=192.168.50.200, mpid=6615, secu

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Johan Hendriks
2010/10/14 Timo Sirainen : > On Thu, 2010-10-14 at 19:40 +0200, Johan Hendriks wrote: >> e select shared/domain.com/johan/INBOX >> e NO Character not allowed in mailbox name: '.' > > This looks as if it's not even seeing the shared namespace. What does it > log with mail_debug=yes? > >> namespace {

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Timo Sirainen
On Thu, 2010-10-14 at 19:40 +0200, Johan Hendriks wrote: > e select shared/domain.com/johan/INBOX > e NO Character not allowed in mailbox name: '.' This looks as if it's not even seeing the shared namespace. What does it log with mail_debug=yes? > namespace { >inbox = no >list = children

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Johan Hendriks
2010/10/14 Timo Sirainen > > On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: > > a login jo...@domain.com mypass > > b SETACL INBOX h...@domain.com lr > .. > > c list "" /shared/* > > c list "" shared/* > > Also see what happens with: > > d list "" shared/domain.com/johan/* > e select sha

Re: [Dovecot] Shared folders, please help.!

2010-10-14 Thread Timo Sirainen
On Mon, 2010-10-11 at 17:11 +0200, Johan Hendriks wrote: > a login jo...@domain.com mypass > b SETACL INBOX h...@domain.com lr .. > c list "" /shared/* c list "" shared/* Also see what happens with: d list "" shared/domain.com/johan/* e select shared/domain.com/johan/INBOX

[Dovecot] Shared folders, please help.!

2010-10-11 Thread Johan Hendriks
Hello all, First of all sorry for this, it has been discussed many times, but i can not make it work. I tried for a long time now. I do something wrong, but i do not know what. First of all, i have virtual users, with virtual domains. Mail is stored in /usr/local/virtual/domain name/user So