[Dovecot] dovecot 1.2 virtual folders question vs empty prefix requires list=yes

Robert Schetterer robert at schetterer.org
Mon Feb 9 00:34:01 EET 2009


Robert Schetterer schrieb:
> Hi Timo,
> 
> Timo Sirainen schrieb:
>> On Jan 26, 2009, at 7:45 PM, Robert Schetterer wrote:
>>
>>> is this possible a possible setup ?
>>> for downloading imap folders ( including inbox )
>>> with pop3 controlled by a a dovecot-virtual file
>>> in usr/local/virtual/%d/%u/
>> Place that in to e.g.: /etc/dovecot/virtual/INBOX
>>
>>> namespace private {
>>>  prefix = virtual/
>>>  separator = /
>>>  location = virtual:/usr/local/virtual/%d/%u:LAYOUT=maildir++
>>> inbox = no
>>> }
>> For pop3 to use virtual mailbox you must use something like:
>>
>> namespace private {
>>   prefix = virtual/
>>   separator = /
>>   location = virtual:/etc/dovecot/virtual:INDEX=~/virtual
>>   subscriptions = no
>> }
>>
>>> namespace private {
>>> separator = /
>>> prefix = ""
>>> location=maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/
>>>
>>> inbox = yes
>>> subscriptions = yes
>>> list = yes
>> list = no here.
> 
> 
> this does not work
> 
> --log
> namespace configuration error: Empty prefix requires list=yes
> 
>>> }
>>
>> Then depending on if user is logging in with imap or pop3, set inbox=yes
>> to one of those namespaces. What userdb are you using? You'll anyway
>> need to return something like namespace_0_inbox=yes or ..1.._inbox=yes
> 
> 

Hi Tim,
is there something new about virtual plugin ?
cant get it to work as described,
list no is not possible, and rules
dont work either cause * means i.e INBOX which
cant be found until its maildir ( speculate )
or it gets to loop


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the dovecot mailing list