[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] search by message size (incl. attachments)



'sup dear users of sup
(see the little joke I made there?)

So anyway, my question is this: is there any way to search (or sort) by
message size? E.g. find all emails bigger than 20MB.

Background: I've been using sup for a little over a year now and already
my work maildir is close to 2GB, and while sup works blazingly fast (I
love it for that) and I have plenty of space on my HDD, I need to backup
my maildir regularly, have it zipped, encrypted and sent away, and it's
taking more and more time. And backup space on our company central
server, per user, is not as large as on my own HDD. So I'm gonna have to
face the problem sooner or later. 

So I was thinking that some time in the future I'll have to find all
those huge (20meg+) emails and possibly delete some of them. I know
there's no sync-back to maildir in the main trunk now, but maybe there
will be before I get to 5 gig maildir. AFAIK there's something working
quite alright in the branches for some time now, so I guess it's gonna
make it to main sooner or later. 

And if all else fails I can always kick up the ruby interpreter, import
the index and generate a list of files with the 'Deleted' tag and just
'rm' that (it doesn't sound very safe maybe but I have backup:) 
But still I first need to find those large messages, right? 

tl;dr: can you search by message size? or sort by that? 

Thanks!
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk