I think it would be nice if we at least support the :inbox label,
so that we can keep our inboxes tidy and our OfflineIMAP sync
times down.
Proposed implementation strategy:
- Define a label/source mapping, as well as a default source for
unrecognized labels and an ordering on labels if
I'm planning on adding inotify support for Maildir mailboxes.
This would mean we no longer need to 'poll' to find new messages;
they show up instantly. Let me know if you're interested and willing
to help test.
Cheers,
Edward
___
Sup-devel mailing list
Excerpts from Edward Z. Yang's message of mar ago 21 11:17:32 -0400 2012:
> I'm planning on adding inotify support for Maildir mailboxes.
> This would mean we no longer need to 'poll' to find new messages;
> they show up instantly. Let me know if you're interested and willing
> to help test.
I de
From: "Edward Z. Yang"
Signed-off-by: Edward Z. Yang
---
lib/sup/maildir.rb | 2 +-
lib/sup/message.rb | 6 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/sup/maildir.rb b/lib/sup/maildir.rb
index 0c8c563..050cfaf 100644
--- a/lib/sup/maildir.rb
+++ b/lib/sup/maildir.
This fixes the "I changed a message from unread to read in one list (e.g. 'U')
and now when I open the message from inbox it can't find it" bug.
Here is a version that is theoretically more efficient, though God
help you if you have more than one location per message.
commit ca5b02b8ff88412f92984
Aaand here's an even prettier version.
commit f7d30410d946418a885929f20a498c10e4058243
Author: Edward Z. Yang
Date: Tue Aug 21 15:19:11 2012 -0400
Sync and update other threads when Maildir sync-back changes location.
Signed-off-by: Edward Z. Yang
diff --git a/lib/sup/maildir.rb
From: "Edward Z. Yang"
Signed-off-by: Edward Z. Yang
---
lib/sup/maildir.rb | 28 ++--
lib/sup/message.rb | 9 +++--
2 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/lib/sup/maildir.rb b/lib/sup/maildir.rb
index 95305c2..ff8da23 100644
--- a/lib/sup/m
Usage instructions:
In config.yaml, you need to add a new option :maildir_labels:
:maildir_labels:
:stanford: [[:inbox, 4], [null, 6]]
Maildir labels is a dictionary of "accounts" to lists of precedences.
Read it as follows:
For messages in source 4 or source 6 (consult sources.ya