On Fri, 6 Jul 2012 17:26:06 +0200, ilf wrote: > I am trying to download mails older than a certain timeframe (say, 2 > months). Ideally, only if they have been read already and are not > flagged. > > I have looked into the "filter" command, but I am not sure I > understand how this works. It pipes the entire headers into external > commands? So I could use some form of grep and regex magic? Yes, exactly. > Is there a cool way to accomplish this in mpop? Hm, it's not exactly cool, but you could write a little shell script (or perl or python or ...) that checks the relevant headers and then returns 2 (skip this mail) or 0 (proceed). > Or should I look for another tool? I don't have a good overview over alternatives right now, so I'm not sure... Martin
Attachment:
signature.asc
Description: PGP signature