curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Error downloading message from imap server

From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 25 Sep 2023 15:20:19 -0700

On Mon, Sep 25, 2023 at 09:17:37AM +0200, Luis Muñoz Fuente via curl-users wrote:
> El 24/9/23 a las 22:37, Dan Fandrich via curl-users escribió:
> > What curl version?

> $curl -V
>
> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11
> brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0)
> libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
> Release-Date: 2020-01-08

That version is 35 releases old, although I think it's much more likely to be a
server issue than a curl issue.

> > Are you sure it's not the remote server throttling you
> > because of too many requests in a short time? ISPs used to restrict the number
> > of polls for mail you were allowed to do in a short time; I don't know if they
> > still do but it's quite likely. I'd expect to see a different error message in
> > that case, though.
>
> But it always lets me check the number of messages...

That doesn't rule out server throttling. It's quite likely to be much more
expensive to return messages than a count of available messages.

Try using the --trace-ascii option to see if the server is giving any more
clues as to what is happening.

Dan
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-09-26