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.
}
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