Extended LIST not working
25 Nov
2024
25 Nov
'24
10:59 a.m.
Hi, i try to use extended LIST command but it doesn't work out.
I wonder if there is any option necessary to enable it or some option that prevent using extended LIST commands (for example Courier compatible namespace config). I didn't find anything in the documentation.
Did anyone notice a similar behavior?
curl -u $IMAPUSER:$IMAPPW imaps://... -X 'STATUS INBOX (MESSAGES UNSEEN)'
- STATUS INBOX (MESSAGES 105 UNSEEN 79)
curl -u $IMAPUSER:$IMAPPW imaps://... -X 'LIST "" "INBOX" RETURN (STATUS (MESSAGES UNSEEN))'
- LIST () "." INBOX
Best regards, Tim
12:04 p.m.
Hi Aki,
thanks, i should have that idea on my own.
Indeed it's simply not shown by curl. If i turn verbose on the extended response is shown:
curl -v -u $IMAPUSER:$IMAPPW imaps://... -X 'LIST "" "INBOX" RETURN (STATUS (MESSAGES UNSEEN))'
- Host ...:993 was resolved. [...] < * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
- LIST () "." INBOX < * STATUS INBOX (MESSAGES 105 UNSEEN 79) < A003 OK List completed (0.025 + 0.000 + 0.025 secs).
- Connection #0 to host ... left intact
237
Age (days ago)
237
Last active (days ago)
2 comments
2 participants
participants (2)
-
Aki Tuomi
-
tim@linux-daus.de