Hi! Has someone encountered the following problem? What am I doing wrong or does someone know a workaround? Dovecot 1.2.1 on Debian unstable, two namespaces: namespace private { prefix location = maildir:~/res/Maildir:LAYOUT=fs inbox = yes list = yes } namespace private { prefix = gtd/ separator = / list = yes location = virtual:~/res/Maildir/gtd:LAYOUT=fs:INBOX=~/res/Maildir/gtd } The problem: cur, tmp, new maildir folders get created within the folder gtd when it is opened by Sylpheed-claws (3.7.1). Subfolders in gtd holding the dovecot-virtual files are not recognised as mail folders at all, they show up but do nothing. Other clients (I have tested thunderbird, evolution) work as expected: they show the folder gtd and the sub-folders perform searches. Thanks in advance, tb
Thomas Berker
2009-Jul-16 18:16 UTC
[Dovecot] Problem with virtual mailboxes (was Sylpheed-claws and virtual mailboxes)
Turns out that both mulberry (linux+win xp) and kmail (1.11.2) do fail to recognize the virtual mailbox too. thomas On Thu, 16 Jul 2009 11:00 +0200, "Thomas Berker" <berker at eml.cc> wrote:> Hi! > Has someone encountered the following problem? What am I doing wrong or > does someone know a workaround? > > Dovecot 1.2.1 on Debian unstable, two namespaces: > > namespace private { > prefix > location = maildir:~/res/Maildir:LAYOUT=fs > inbox = yes > list = yes > } > > namespace private { > prefix = gtd/ > separator = / > list = yes > location = virtual:~/res/Maildir/gtd:LAYOUT=fs:INBOX=~/res/Maildir/gtd > } > > The problem: > cur, tmp, new maildir folders get created within the folder gtd when it > is opened by Sylpheed-claws (3.7.1). Subfolders in gtd holding the > dovecot-virtual files are not recognised as mail folders at all, they > show up but do nothing. > > Other clients (I have tested thunderbird, evolution) work as expected: > they show the folder gtd and the sub-folders perform searches. > > Thanks in advance, > tb >-- Thomas Berker, NTNU, Trondheim, Norway Fax: +47-735-91327 Office phone: +47-735-51031 Mobile phone: +47-92434811
On Thu, 2009-07-16 at 15:00 +0200, Thomas Berker wrote:> namespace private { > prefix > location = maildir:~/res/Maildir:LAYOUT=fs > inbox = yes > list = yes > } > > namespace private { > prefix = gtd/ > separator = / > list = yes > location = virtual:~/res/Maildir/gtd:LAYOUT=fs:INBOX=~/res/Maildir/gtd > }The problem is most likely that since you're using LAYOUT=fs, gtd/ is accessible using both namespaces. Change the virtual to something like: location = virtual:~/res/gtd i.e. not under Maildir/. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090726/9b8383cd/attachment-0002.bin>
Timo Sirainen <tss at iki.fi> wrote:> The problem is most likely that since you're using LAYOUT=fs, gtd/ is > accessible using both namespaces. Change the virtual to something > like: > > location = virtual:~/res/gtdExcellent, that did the trick! Many thanks, t