From mboxrd@z Thu Jan 1 00:00:00 1970 From: amit.kucheria@gmail.com (Amit Kucheria) Date: Thu, 3 Sep 2009 17:26:40 +0300 Subject: [sup-talk] Dynamic list of maildir folders as sources Message-ID: <20090903142640.GB4465@matterhorn.verdurent.com> Hi, I've been watching sup for a while and finally decided to take the plunge today. Apologies for the long-winded explanation before the real question, but I guess if something in my workflow could be optimised, someone might be able to point it out here. I'll be running sup on a bunch of maildir folders downloaded via offlineimap. All my mail comes as IMAP from 3 gmail accounts. When I subscribe to a new mailing list, I simply create a new filter in gmail to add a new tag to email from that list and skip the inbox. This shows up as a new maildir folder on my local machine. Mutt finds this new folder using the following folder-hook hack I have in my .muttrc: folder-hook +foo.* mailboxes `find ~/Mail/foo -type d -name cur -type d -printf '%h\n' | sort | tr '\012' ' '` , where foo is one of my mailboxes. So I have ~/Mail/bar and ~/Mail/foobar for my other accounts. Each of these have several maildir folder in them. I've run sup-config and it seems to expect that I list every maildir folder I've got. Is there a way to generate this dynamically? Regards, Amit p.s. sup-sync has been at it on my lkml folder with ~40K mail messages for 30mins now. -- ------------------------------------------------------------ Amit Kucheria ------------------------------------------------------------