curl-library
imap fetch broken?
Date: Wed, 19 Dec 2018 17:44:54 +0100
Hi,
In addition to the other imap issue we have, there is a second one:
./curl --verbose --url "imap://imap.macsw.de/INBOX/" -u xxx:yyy --request "FETCH 1:* (FLAGS BODY[HEADER.FIELDS (Message-Id)])" --output test.txt
When I run this the output of fetch goes to debug messages and not to the file.
The file only contains:
* 1 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
* 2 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {75}
* 3 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
* 4 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {88}
But the debug log shows the message IDs:
> A004 FETCH 1:* (FLAGS BODY[HEADER.FIELDS (Message-Id)])
< * 1 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
< Message-Id: <6F3B718F-8427-4EFB-B291-106A8ABFC1AA_at_monkeybreadsoftware.de>
<
< )
< * 2 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {75}
< Message-Id: <20180513143045.88FCF186080F_at_quake.server.clever-zoeger.de>
<
< )
< * 3 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {77}
< Message-Id: <CD138D19-86B0-4EC6-921B-0D7CB0C861A9_at_monkeybreadsoftware.de>
<
< )
< * 4 FETCH (FLAGS (\Seen) BODY[HEADER.FIELDS (MESSAGE-ID)] {88}
< Message-ID: <620169242.91311542275549379_at_filemaker-jc-t-wa02.dynphx1.jivehosted.com>
<
< )
< A004 OK Fetch completed (0.001 + 0.000 secs).
Does anyone know why this output goes to log instead of file?
Sincerely
Christian
-- Read our blog about news on our plugins: http://www.mbsplugins.de/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-12-19