[Dovecot] Dovecot 2.0.7 Virtual plugin
Well, it seens the virtual plugins is not working correctly or i miss undertood how to configurate it.
http://wiki2.dovecot.org/Plugins/Virtual
as this wiki says,
I should be possible to make an ndeamespace
namespace { prefix = virtual/ separator = / location = virtual:~/Maildir/virtual }
And in side of ~/Maildir/virtual create virtual folders and inside of those folders create dovecot-vitual.
But it does not work.
Right if i make this conf, on my imap client it shows a folder called virtual ( the prefix, or whtever i put in there ) and show nothing, only shows something if i create a dovecot-virtual inside of ~/Maildir/virtual/
i would appreciate if someone explain what i am doind wrong.
Thanks!
my dovecot -n
# 2.0.7: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian squeeze/sid mail_debug = yes mail_location = maildir:~/TesteEmail/Maildir mail_plugins = " virtual" namespace { inbox = yes location = prefix = separator = / } namespace virtual { location = virtual:~/TesteEmail/virtual/ prefix = virtual/ separator = / } passdb { driver = pam } ssl = no userdb { driver = passwd } protocol imap { mail_plugins = " virtual virtual" }
[]'sf.rique
On 10.11.2010, at 21.25, Henrique Fernandes wrote:
I should be possible to make an ndeamespace
namespace { prefix = virtual/ separator = / location = virtual:~/Maildir/virtual }
And in side of ~/Maildir/virtual create virtual folders and inside of those folders create dovecot-vitual.
Except for the typo, yeah.
But it does not work.
Right if i make this conf, on my imap client it shows a folder called virtual ( the prefix, or whtever i put in there ) and show nothing, only shows something if i create a dovecot-virtual inside of ~/Maildir/virtual/
What does "find ~/Maildir/virtual" say?
protocol imap { mail_plugins = " virtual virtual" }
One virtual is enough.
I guess, it has two virtual cause i put virtual plugin also in imap protocol.
sfrique@hornet:~/TesteEmail$ find /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/dovecot.index /home/sfrique/TesteEmail/virtual/dovecot.index.log /home/sfrique/TesteEmail/virtual/dovecot-virtual /home/sfrique/TesteEmail/virtual/ABCD /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual
sfrique@hornet:~/TesteEmail$ cat /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual # ~/TesteEmail/Maildir/virtual/ABCD/dovecot-virtual
- all sfrique@hornet:~/TesteEmail$ cat /home/sfrique/TesteEmail/virtual/dovecot-virtual
~/TesteEmail/Maildir/virtual/ABCD/dovecot-virtual
- all
[]'sf.rique
On Wed, Nov 10, 2010 at 11:28 PM, Timo Sirainen tss@iki.fi wrote:
On 10.11.2010, at 21.25, Henrique Fernandes wrote:
I should be possible to make an ndeamespace
namespace { prefix = virtual/ separator = / location = virtual:~/Maildir/virtual }
And in side of ~/Maildir/virtual create virtual folders and inside of those folders create dovecot-vitual.
Except for the typo, yeah.
But it does not work.
Right if i make this conf, on my imap client it shows a folder called virtual ( the prefix, or whtever i put in there ) and show nothing, only shows something if i create a dovecot-virtual inside of ~/Maildir/virtual/
What does "find ~/Maildir/virtual" say?
protocol imap { mail_plugins = " virtual virtual" }
One virtual is enough.
On 11.11.2010, at 2.35, Henrique Fernandes wrote:
sfrique@hornet:~/TesteEmail$ find /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/dovecot.index /home/sfrique/TesteEmail/virtual/dovecot.index.log /home/sfrique/TesteEmail/virtual/dovecot-virtual /home/sfrique/TesteEmail/virtual/ABCD /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual
Looks ok.
sfrique@hornet:~/TesteEmail$ cat /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual # ~/TesteEmail/Maildir/virtual/ABCD/dovecot-virtual
This shows as if there's an empty line as the file's first line? (shouldn't be)
Anyway, all looks ok. ABCD should show up in list. Are you sure it's not a client/subscription problem? Try talking IMAP protocol directly and check what the LIST command shows: http://wiki2.dovecot.org/TestInstallation
As it turns out, i seens to be a client problem, and an miss understando problem.
Using only one namespace this folder ABCD will be under folder virtual right ?
I guess for each virtual folder i have to create an namespace so it does not apear under any folder righ ?
i mean this.
ABCD ad EFGH will be virtual so for achive this setup need to be 2 namespaces with prefix ABCD and EFGH right ?
Inbox Spam ABCD EFGH
Other wise would turns out like this: right ? if i use only one namespace with prefix vrtual and create both folder in it..
Inbox Spam virtual -ABCD -EFGH
so, folders ABCD and EFGH will be inside folder virtual correct ?
[]'sf.rique
On Thu, Nov 11, 2010 at 12:41 AM, Timo Sirainen tss@iki.fi wrote:
On 11.11.2010, at 2.35, Henrique Fernandes wrote:
sfrique@hornet:~/TesteEmail$ find /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/dovecot.index /home/sfrique/TesteEmail/virtual/dovecot.index.log /home/sfrique/TesteEmail/virtual/dovecot-virtual /home/sfrique/TesteEmail/virtual/ABCD /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual
Looks ok.
sfrique@hornet:~/TesteEmail$ cat /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual # ~/TesteEmail/Maildir/virtual/ABCD/dovecot-virtual
This shows as if there's an empty line as the file's first line? (shouldn't be)
Anyway, all looks ok. ABCD should show up in list. Are you sure it's not a client/subscription problem? Try talking IMAP protocol directly and check what the LIST command shows: http://wiki2.dovecot.org/TestInstallation
It works as i Said!
[]'sf.rique
On Thu, Nov 11, 2010 at 12:49 AM, Henrique Fernandes sf.rique@gmail.comwrote:
As it turns out, i seens to be a client problem, and an miss understando problem.
Using only one namespace this folder ABCD will be under folder virtual right ?
I guess for each virtual folder i have to create an namespace so it does not apear under any folder righ ?
i mean this.
ABCD ad EFGH will be virtual so for achive this setup need to be 2 namespaces with prefix ABCD and EFGH right ?
Inbox Spam ABCD EFGH
Other wise would turns out like this: right ? if i use only one namespace with prefix vrtual and create both folder in it..
Inbox Spam virtual -ABCD -EFGH
so, folders ABCD and EFGH will be inside folder virtual correct ?
[]'sf.rique
On Thu, Nov 11, 2010 at 12:41 AM, Timo Sirainen tss@iki.fi wrote:
On 11.11.2010, at 2.35, Henrique Fernandes wrote:
sfrique@hornet:~/TesteEmail$ find /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/ /home/sfrique/TesteEmail/virtual/dovecot.index /home/sfrique/TesteEmail/virtual/dovecot.index.log /home/sfrique/TesteEmail/virtual/dovecot-virtual /home/sfrique/TesteEmail/virtual/ABCD /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual
Looks ok.
sfrique@hornet:~/TesteEmail$ cat /home/sfrique/TesteEmail/virtual/ABCD/dovecot-virtual # ~/TesteEmail/Maildir/virtual/ABCD/dovecot-virtual
This shows as if there's an empty line as the file's first line? (shouldn't be)
Anyway, all looks ok. ABCD should show up in list. Are you sure it's not a client/subscription problem? Try talking IMAP protocol directly and check what the LIST command shows: http://wiki2.dovecot.org/TestInstallation
participants (2)
-
Henrique Fernandes
-
Timo Sirainen