On Mon, May 4, 2009 at 8:59 AM, William Morgan <wmorgan-...@masanjin.net> wrote:
> Reformatted excerpts from Ben Walton's message of 2009-04-30:
>> Since I'm back into mucking with this bit, are you open to having the
>> maildir scanning code move messages from new/ to cur/?  This could
>> help with the unique id vs directory scanning issue.
>
> Would it really help? I'd be willing if so, but I don't see how. Maybe
> I'm missing something.

Scan both folders (cur/, new/) on startup or sup-sync.  After that,
scan only new.  Since mail is moved out of new/ into cur/ after
detection, the time stamp stuff could be dropped since it would be
redundant anyway.  I think I'd confused myself about the id generation
issue, so it wouldn't likely be of benefit there.

> I've avoided moving new/ to cur/ because I didn't see any benefit to
> Sup, and it conflicts with the hands-off philosophy, so it just seemed
> like one more thing we could screw up. But if there is a real reason to
> do it, I'd probably be willing.

Sup would be a better Maildir citizen, since this is the intended way
to access/use a maildir source.

-Ben
-- 
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <bdwal...@gmail.com>

"With or without religion, good people can behave well and bad people
can do evil; but for good people to do evil—that takes religion. "
-Steven Weinberg
---------------------------------------------------------------------------------------------------------------------------
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to