Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've created several virtual folders in my dovecot setup. Influenced by gmail I collected all my email in All and then created a virtual folder containing unread and flagged emails, together with all mails that reference such emails (inthread refs (or (or recent unseen) flagged)). This works beautifully, I see all the emails I expect to see when pointing mutt to the mailbox. However, the virtual folder doesn't seem to refresh after I make changes; I've removed all flags on several of the email threads and I expected that sooner or later those threads would disappear from the virtual folder. However, about 12 hours later mutt hasn't noticed any changes in the virtual folder. Restarting mutt doesn't make any difference.

How do I get dovecot to refresh the contents of the virtual folder? (Or am I simply expecting too much?)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I got an answer on IRC. It's possible to control where the index for the virtual folder goes, and putting it in memory causes the folder to refresh properly:

location = virtual:~/Mail/virtual:INDEX=MEMORY
share|improve this answer
    
I should add that there were some hints that the behaviour I saw when using an index saved to file is a bug. –  Magnus Oct 4 '10 at 9:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.