Thomas Leuxner:> I have a view defined (virtual plugin) with around 22.000 messages in itinteresting. I assume you drop multiple mailing lists together in a mailbox and separate them using the virtual plugin, right? could publish how you configured dovecot virtual plugin? I never had success on using the plugin in a useful way :-/ Thanks Andreas
* Andreas Schulze <sca at andreasschulze.de> 2015.01.25 12:47:> I assume you drop multiple mailing lists together in a mailbox and separate them using the virtual plugin, right? > could publish how you configured dovecot virtual plugin?The namespace "Virtual" will look for its configuration in the user's home directory: namespace { location = virtual:~/mdbox/virtual prefix = Virtual/ separator = / } Inside the ~/mdbox/virtual directory the actual query is defined in directory 'Flagged' (that will show up in the MUA as sub-dir). The actual search/query is defined in file 'dovecot-virtual' which will create the "magic": $ cat virtual/Flagged/dovecot-virtual * Public/* flagged Another example, the one I used in the original reply, is 'gluing' together archives as a single view: $ cat virtual/Postfix-Users/dovecot-virtual Public/Archive/Mailing-Lists/Postfix-Users/* Public/Mailing-Lists/Postfix-Users all HTH -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150125/9658d7b1/attachment-0001.sig>
Thomas Leuxner:> namespace { > location = virtual:~/mdbox/virtual > prefix = Virtual/ > separator = / > } > > $ cat virtual/Flagged/dovecot-virtual > * > Public/* > flaggedonce setup correctly it works like expected :-)> Another example, the one I used in the original reply, is 'gluing' > together archives as a single view: > > $ cat virtual/Postfix-Users/dovecot-virtual > Public/Archive/Mailing-Lists/Postfix-Users/* > Public/Mailing-Lists/Postfix-Users > allhow do you separate older postings into the Archive? something like "doveadm search + move ? Andreas
On Jan 25, 2015, at 5:05 AM, Thomas Leuxner <tlx at leuxner.net> wrote:> The namespace "Virtual" will look for its configuration in the user's home directory: > > namespace { > location = virtual:~/mdbox/virtual > prefix = Virtual/ > separator = / > } > > Inside the ~/mdbox/virtual directory the actual query is defined in directory 'Flagged' (that will show up in the MUA as sub-dir). The actual search/query is defined in file 'dovecot-virtual' which will create the "magic": > > $ cat virtual/Flagged/dovecot-virtual > * > Public/* > flagged > > Another example, the one I used in the original reply, is 'gluing' together archives as a single view: > > $ cat virtual/Postfix-Users/dovecot-virtual > Public/Archive/Mailing-Lists/Postfix-Users/* > Public/Mailing-Lists/Postfix-Users > allThis all sounds interesting. Is there anything i can read to understand what the purpose of Virtual is and why this would help? It sounds like you are using a shared space for mailing lists (which I can see would be useful if you had many people subscribing to the same lists). If so, doesn?t each user lose their indications of what messages are read or replied to? -- 'But you ain't part of it, are you?' said Granny conversationally. 'You try, but you always find yourself watchin' yourself watchin' people, eh? Never quite believin' anything? Thinkin' the wrong thoughts?'