From mboxrd@z Thu Jan 1 00:00:00 1970 From: reid.thompson@ateb.com (Reid Thompson) Date: Tue, 21 Apr 2009 09:13:54 -0400 Subject: [sup-talk] Two questions In-Reply-To: <1240318974-sup-6743@entry> References: <1239997272.5948.104.camel@localhost> <1240318974-sup-6743@entry> Message-ID: <1240319634.11793.11.camel@localhost> On Tue, 2009-04-21 at 06:06 -0700, William Morgan wrote: > Reformatted excerpts from Reid Thompson's message of 2009-04-17: > > So, in order to actually manage my email, I have to utilize a > > different email client to delete unwanted mail - essentially doing the > > same work twice, or am I missing something? > > For the two special cases of "physically" removing messages marked as > deleted or spam, you can use sup-sync-back, which is a batch operation > operating on an entire mail source at a time. Currently it only applies > to mbox sources and can't be run while Sup is also running. > > > Could sup-sync --changed be incorporated into sup, and triggered > > automatically by sup itself? > > You could certainly do that via Sup's hook mechanism, but it's a very > slow operation (it has to scan over the entire mailbox). OK -- so to 'manage' an imap store, i'd need to setup a mechanism to fetch all the email to a local store, deleting from the imap store, and then do something like schedule an overnight run of sup-sync-back,