Control: severity -1 minor On Sat, 16 Nov 2019 at 23:35:31 +0100, Jonas Smedegaard wrote: > I guess you mean this: > […] > * 3396 FETCH (UID 97 MODSEQ (1) FLAGS ())
> jonas@auryn:~$ ssh [email protected] 'doveadm -f flow fetch "uid > modseq flags" mailbox INBOX.olpc' | grep -w 97 > uid=97 modseq=1 flags= Yup, sorry for the lack of clarity and thanks for reading between the lines. I'm lowering the severity of this bug to ‘minor’ now, because AFAICT it's cosmetic at worst. The above is consistent with the rest of this report, even though I don't get why you receive a response with UID 97 when the FETCH command spans over all UIDs, but not when limited to said UID. Sounds like a server issue to me, but I'd need to double check RFC 3501 to be sure. We've already seen that FETCHing the BODY of UID 97 produces no response. Does it help to add “INTERNALDATE BODY.PEEK[]” to the fetch-attr list? I.e., replace the UID FETCH command with b UID FETCH 1:* (MODSEQ FLAGS INTERNALDATE BODY.PEEK[]) That was the command used in the initial sync (the one producing the warning about uninitialized value value). If my theory is correct, the response will be something like * 3396 FETCH (UID 97 MODSEQ (1) FLAGS () … BODY[] NIL) (That IMAP command will produce a lot of output on large mailboxes; you might want to grep remotely if your connection to the server is slow or unreliable.) Or using doveadm: $ doveadm -f flow fetch "uid modseq flags text" mailbox INBOX.olpc | grep -iE "(^| )uid=97( |$)" Perhaps it's enough to dump UIDs 90 to 100 than the entire mailbox, I don't know. Hopefully your mailbox is not so large that dumping its content DoS'es the server :-P If these command do produce an untagged FETCh output, you could try to add the GUID to the fetch-attr list (with doveadm and/or in the IMAP session) to see if that message points anywhere at all. b UID FETCH 1:* (MODSEQ X-GUID FLAGS INTERNALDATE BODY.PEEK[]) and $ doveadm -f flow fetch "uid modseq guid flags text" mailbox INBOX.olpc | grep -iE "(^| )uid=97( |$)" -- Guilhem.
signature.asc
Description: PGP signature

