Discussion:
[bug-mailutils] imaps 1) Says Held when actually deleted, 2) and can't deal with 0 messages
積丹尼 Dan Jacobson
2018-10-19 02:58:59 UTC
Permalink
Here we see if the mailbox is empty we get an error message. It should
say "No applicable messages". No bug if there is at least one message.

$ mail.mailutils --debug-level='mailbox.prot,!trace9' --headers --file imaps://***%40***:***@homie.mail.dreamhost.com
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
C: 01 CAPABILITY
S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN
S: 01 OK Pre-login capabilities listed, post-login capabilities have more.
C: 02 LOGIN ***@*** "***"
S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SPECIAL-USE
S: 02 OK Logged in
C: 03 SELECT INBOX
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
S: * 0 EXISTS
S: * 0 RECENT
S: * OK [UIDVALIDITY 1538585615] UIDs valid
S: * OK [UIDNEXT 445] Predicted next UID
S: * OK [HIGHESTMODSEQ 1] Highest
S: 03 OK [READ-WRITE] Select completed (0.000 + 0.000 secs).
C: 04 FETCH 1:* (UID FLAGS ENVELOPE RFC822.SIZE BODY)
S: 04 BAD Error in IMAP command FETCH: Invalid messageset (0.000 + 0.000 secs).
Cannot read mailbox imaps://***%40***:***@homie.mail.dreamhost.com: Invalid reply from the remote host

Package: mailutils
Version: 1:3.4-2

Versions of packages mailutils depends on:
ii exim4-daemon-light [mail-transport-agent] 4.91-8
ii guile-2.0-libs 2.0.13+1-5+b1
ii libc6 2.27-6
ii libfribidi0 1.0.5-3
ii libgc1c2 1:7.6.4-0.4
ii libgnutls30 3.6.4-2
ii libgsasl7 1.8.0-8+b2
ii libkyotocabinet16v5 1.2.76-4.2+b1
ii libldap-2.4-2 2.4.46+dfsg-5
ii libmailutils5 1:3.4-2
ii libncurses6 6.1+20181013-1
ii libpam0g 1.1.8-3.8
ii libpython2.7 2.7.15-4
ii libreadline7 7.0-5
ii libtinfo6 6.1+20181013-1
ii libwrap0 7.6.q-27
ii mailutils-common 1:3.4-2

mailutils recommends no packages.

Versions of packages mailutils suggests:
ii mailutils-doc 1:3.4-2
pn mailutils-mh <none>

Sergey I sent you that log but you never got it.
Sergey Poznyakoff
2018-10-19 06:11:07 UTC
Permalink
Post by 積丹尼 Dan Jacobson
Here we see if the mailbox is empty we get an error message. It should
say "No applicable messages". No bug if there is at least one message.
It does so after the commit 4d01c1de. I believe I have alread replied to
that one.

Regards,
Sergey

Loading...