[Dovecot] dovecot-virtual folder configuration
Hi all,
Long story short, I'd like to configure a folder containing:
INBOX (some other folders)
-> unseen emails from these folders + all other emails (also seen) from the same thread -> seen emails from these folders, but only the recent ones + all other emails from the same thread
I tried: # inthread refs (or (or recent unseen) recent ) inthread refs unseen # inthread refs (or unseen ( recent seen) ) # inthread refs recent unseen # inthread refs unseen #inthread refs recent (or unseen ) # inthread refs (recent seen (or unseen )) # (inthread refs (or unseen) recent seen) #( inthread refs (or (or recent unseen) flagged) )
without success.
Where could I find proper,understandable doc for this? Could anybody help me on configuring such rule(s) ?
Thanks a lot in adavance,
Pierre
On Fri, 2011-09-16 at 00:58 +0200, Pierre wrote:
Hi all,
Long story short, I'd like to configure a folder containing:
INBOX (some other folders)
-> unseen emails from these folders + all other emails (also seen) from the same thread -> seen emails from these folders, but only the recent ones + all other emails from the same thread
The "other mails from same thread" is still a bit problematic with virtual folders. From my TODO:
- virtual: If last message matching INTHREAD rule gets expunged, the rest of the thread doesn't go away
First you'll need to create a virtual folder that has all the mails that you would ever want to see in threads. For example:
virtual/all/dovecot-virtual:
INBOX Sent some other folders all
Then based on that create the virtual mailbox you want:
virtual/newstuff/dovecot-virtual:
virtual/all inthread refs or unseen recent
Thanks for the tip Timo.
I was trying to make this work, when I got stupid issue: I named my namespace "#virtual", but putting "#" at the beginning of dovecot-virtual line makes it be a comment.
I tryed with '#", \#... without success
Is there any method to make it work ?
thx, Pierre
On 16/sept. - 15:08, Timo Sirainen wrote:
On Fri, 2011-09-16 at 00:58 +0200, Pierre wrote:
Hi all,
Long story short, I'd like to configure a folder containing:
INBOX (some other folders)
-> unseen emails from these folders + all other emails (also seen) from the same thread -> seen emails from these folders, but only the recent ones + all other emails from the same thread
The "other mails from same thread" is still a bit problematic with virtual folders. From my TODO:
- virtual: If last message matching INTHREAD rule gets expunged, the rest of the thread doesn't go away
First you'll need to create a virtual folder that has all the mails that you would ever want to see in threads. For example:
virtual/all/dovecot-virtual:
INBOX Sent some other folders all
Then based on that create the virtual mailbox you want:
virtual/newstuff/dovecot-virtual:
virtual/all inthread refs or unseen recent
Ok, named this "VIRTUAL" at the moment...
Strange behaviour: this unread folder does not get refreshed, even if I refresh 'all' folder.
I read something about putting index file in memory which could solve the problem. Is this reliable ?
Pierre
On 18/sept. - 19:06, Pierre wrote:
Thanks for the tip Timo.
I was trying to make this work, when I got stupid issue: I named my namespace "#virtual", but putting "#" at the beginning of dovecot-virtual line makes it be a comment.
I tryed with '#", \#... without success
Is there any method to make it work ?
thx, Pierre
On 16/sept. - 15:08, Timo Sirainen wrote:
On Fri, 2011-09-16 at 00:58 +0200, Pierre wrote:
Hi all,
Long story short, I'd like to configure a folder containing:
INBOX (some other folders)
-> unseen emails from these folders + all other emails (also seen) from the same thread -> seen emails from these folders, but only the recent ones + all other emails from the same thread
The "other mails from same thread" is still a bit problematic with virtual folders. From my TODO:
- virtual: If last message matching INTHREAD rule gets expunged, the rest of the thread doesn't go away
First you'll need to create a virtual folder that has all the mails that you would ever want to see in threads. For example:
virtual/all/dovecot-virtual:
INBOX Sent some other folders all
Then based on that create the virtual mailbox you want:
virtual/newstuff/dovecot-virtual:
virtual/all inthread refs or unseen recent
participants (2)
-
Pierre
-
Timo Sirainen