[Dovecot] INBOX lost in virtual namespace

Xueron Nee xueron at xueron.com
Thu Apr 9 13:45:02 EEST 2009


Hi,

I have set a virtual namespace to create Virtual POP3 INBOX follow:
http://wiki.dovecot.org/Plugins/Virtual

dovecot.conf:

mail_location = maildir:~/Maildir

# default namespace
namespace private {
    separator       = /
    prefix          =
    list            = yes
    hidden          = no
    subscriptions   = yes
}

# virtual mailbox, for pop3
namespace private {
    separator       = /
    prefix          = virtual/
    location        = virtual:~/Maildir/virtual:LAYOUT=maildir++
    list            = no
    hidden          = yes
}

# Copy of the default namespace. We'll use this in dovecot-virtual file.
namespace private {
    separator       = /
    prefix          = secret/
    list            = no
    hidden          = yes
    subscriptions   = no
}  


# cat ~/Maildir/virtual/.INBOX/dovecot-virtual
secret/*
    all

but, the INBOX lost in secret/ namespace :(

When list in IMAP:

a1 list "" "*"
* LIST (\HasNoChildren) "/" "Sent"
* LIST (\HasNoChildren) "/" "Spam"
* LIST (\HasNoChildren) "/" "Junk"
* LIST (\HasNoChildren) "/" "Draft"
* LIST (\HasNoChildren) "/" "Trash"
* LIST (\HasNoChildren) "/" "INBOX"
a1 OK List completed.
a1 list "secret/" "*"
* LIST (\HasNoChildren) "/" "secret/Sent"
* LIST (\HasNoChildren) "/" "secret/Spam"
* LIST (\HasNoChildren) "/" "secret/Junk"
* LIST (\HasNoChildren) "/" "secret/Draft"
* LIST (\HasNoChildren) "/" "secret/Trash"
a1 OK List completed.

INBOX lost, So, the virtual namespace for POP3 cannot see the messages
in IMAP's INBOX.

Am I doing anything wrong?

Thanks..

--
Xueron Nee
http://www.xueron.com



More information about the dovecot mailing list