Indexing Mail faster
Thomas Leuxner
tlx at leuxner.net
Sun Jan 25 12:05:07 UTC 2015
* 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>
More information about the dovecot
mailing list