I'm attempting to create a virtual inbox that contains all unread
messages from the user's Maildir.
I created a conf file called 80-virtual.conf containing:
mail_plugins = $mail_plugins virtual
namespace {
prefix = virtual/
separator = /
location = virtual:~/Maildir/virtual
}
And created the
/home/username/Maildir/virtual/unseen/dovecot-virtual file which contains:
# ~/Maildir/virtual/unseen/dovecot-virtual
*
unseen
However it doesn't work and the maillog file contains:
dovecot: imap(username): Error: user username: Initialization failed:
namespace configuration error: inbox=yes namespace missing
This is with dovecot 2.0.beta6 (3156315704ef)
Does anybody have any suggestions?
Thanks!
Terry
On Sa, 24 Sep 2011, Terry Carmen wrote:> I'm attempting to create a virtual inbox that contains all unread > messages from the user's Maildir. > > I created a conf file called 80-virtual.conf containing:[...]> However it doesn't work and the maillog file contains: > > dovecot: imap(username): Error: user username: Initialization failed: > namespace configuration error: inbox=yes namespace missing >Probably you forgot to follow this advise from 10-mail.conf: # REMEMBER: If you add any namespaces, the default namespace must be added # explicitly, ie. mail_location does nothing unless you have a namespace # without a location setting. Default namespace is simply done by having a # namespace with empty prefix. Lutz
On 2011-09-24 9:30 PM, Terry Carmen <terry at cnysupport.com> wrote:> This is with dovecot 2.0.beta6 (3156315704ef) > > Does anybody have any suggestions?Upgrade - which probably won't fix your problem, but because the version you're using is so old should be considered a requirement before asking for further help. -- Best regards, Charles