Re: Timing out while trying to connect to gmail. Config?

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Mauricio Tavares <[email protected]> wrote:
> >
> > Aha.  I had assumed from your initial report that it was timing out before
> > it was able to connect, login, retrieve any messages, etc.  That's not the
> > case.
[...]
> > What you want to do in that case is set the max_messages_per_session to a
> > small value -- basically the maximum number of duplicate messages you want
> > to have to deal with.  Try something like 10 or 20, for example.  Then you
> > run getmail periodically (by hand, or with a helper) and it will
> > eventually have retrieved all of your mail, disconnecting after each batch
> > to make sure the server state is updated (which can get lost if the
> > connection is dropped).
>
> Reading https://support.google.com/a/answer/1071518?hl=en, I believe
> now I understand what is going on: gmail has IMAP bandwidth limit of
> 2500MB per day.

That's interesting; I hadn't heard of that before, but it does explain the
behaviour you're seeing.  So it looks like you'll have to stay under that
limit (or buy a bigger limit, if they support that).  Presumably this is only
an issue while you retrieve your old mail; after you're "caught up" you'll
only be pulling down new mail each day (with a sane getmail configuration,
anyway).

> I will change my config from X messages/day to MB per day.

Not sure how - getmail doesn't have such a feature ;).  Of course you can just
run getmail until it fails to connect, then have it wait until the next day to
start again.

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.