From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Mon, 08 Oct 2007 14:26:37 -0700 Subject: [sup-talk] Question regarding Maildir (and possible patch?) In-Reply-To: <001601c807f3$c6bafe10$650aa8c0@ocean> References: <001601c807f3$c6bafe10$650aa8c0@ocean> Message-ID: <1191877732-sup-6395@south> Excerpts from steve.shreeve's message of Sat Oct 06 01:34:55 -0700 2007: > Since I prefer not to manually add all 1,500 mailboxes as "sources" > for sup, I modified maildir.rb as follows to allow sup to dive into > mailboxes. This is a very nice solution, but after some thought I'm not going to apply it. Maildir folders should be handled the same way that mbox folders are: each as its own source. If you have lots of them, use sup-add from the command line in conjunction with shell globbing or the find command. The reason is that per-folder auto-applied labels are still important (at least until I get filtering working), and you lose that capability with recursion. One could make recursion a configurable property of a Maildir source, though it strikes me as possibly overengineering. Depends how many people would actually use it. When this issue has come up before, my proposed solution has been to modify sup-config to do the recursion for you at setup time. This is not a high priority change since my target audience is the Unix-savvy. In your case, 1500 folders is a lot, but Sup should be able to handle it. I recommend adding them as unpolled sources---unless, of course, they do receive new mail---so as to avoid slowing down new message polling. (In Sup terminology these are (regrettably) called "unpolled" sources.) Please don't let this discourage you from sending more patches, of course! :) -- William