curl imap error 78 when trying to download email
Just checking before I commit a bug report. Did several searches within Ubuntu forums etc.
The version of curl included in Ubuntu 18.04 LTS has a bug that causes the imap sub-command/scheme to return Error 78 File not found when it should return the contents of the email.
This is documented in the Bug Report on GitHub as: https:/
The version supplied in Ubuntu 19.10, and future 20.04 LTS will be the fixed version.
Ubuntu 18.04
Version:
$ curl -V
curl 7.58.0 (x86_64-
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
Command:
$ curl --insecure --url "imaps:
curl: (78) Remote file not found
Ubuntu 19.10
Version:
$ curl -V
curl 7.65.3 (x86_64-
Release-Date: 2019-07-19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
Command:
$ curl --insecure --url "imaps:
Return-Path: <email address hidden>
Received: from email.example.co.nz ([unix socket])
by email (Cyrus x.xx.xx. with LMTPA;
Tue, 28 Jan 2020 22:05:56 +1300
X-Sieve: CMU Sieve x.x
8x ---- Snip ---- x8
Just wanted to check if my search Foo has let me down before I report it as a bug
Cheers
Jim
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jim Pye for more information if necessary.