Re: I want to retrieve the last few days not the whole inbox getmail for ms o365 in the works?

Charles Cazabon <[email protected]> Sat, 22 Jan 2022 22:02:28 -0600
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
dmacdoug <[email protected]> wrote:
> I have a lot of mail in my inbox and I want to retrieve only the last few
> days, not the whole inbox to a fresh getmail install.  I can't find where
> getmail saves the last message it retrieved so I can set which message I'd
> like it to start at.  

That's not how getmail works - in fact, it can't work that way, as POP and
IMAP don't support that concept; the server does not track "what this client
has seen and what it hasn't".  getmail keeps track of the messages it has
seen, nothing else.

> Is that possible?

Not in the way you're talking about.  You only need to retrieve old mail once
for getmail to remember it as "seen" and not fetch it again (with the
appropriate options); you can delete the local copy afterwards and getmail
won't know or care.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------