Re: Only download emails older than x days

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Mauricio Tavares <[email protected]> wrote:
> I have a ton of emails in my gmail account and would like to only
> download (and delete from gmail after that) only those emails that are
> older than X days.

getmail does not have a feature to avoid downloading new mail.  No one's ever
asked for such, and it doesn't strike me as terribly useful.

However, it does have a feature to download mail immediately but only delete
it from the server after a period of time -- see the delete_after option.
That's probably what you actually want.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.