Re: Possible fix for UNAVAILABLE handling

Dario Corti <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Hi, in the end it was apparently not the only issue I had. I also found
IDLE failing on a socket timeout error (strangely enough not catched by
the socket.timeout handler, but as a socket.error exception, however the
handling is the same). I don't know if it's ok to say that when idle is
used, socket timeouts should be ignored, so for my local case I changed
the handler and removed errorexit = True, but it might not be ideal for
the general case.

Il 30/10/18 15:51, Charles Cazabon ha scritto:
> Dario Corti <[email protected]> wrote:
>> credential/login error ([UNAVAILABLE] Account is temporarily unavailable.)
> Ok.  I presume your patch works, so I will use it.  Thanks!  My only concern
> is whether re-using this exception means some other case will be handled
> differently now... I would appreciate any reports of breakage.
>
>> My two cents, btw (I opened getmail source code today for the first time).
> Well, you've now contributed your first published patch to the getmail code
> too then ;)
>
> Charles

-- 
[email protected]
[email protected]
OpenPGP Key: 752A92A1
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.