Searching 30 GB mailbox

Einar Bjarni Halldórsson einar at isnic.is
Thu Dec 2 12:47:02 UTC 2021


>
> If I search for the UID I get
>
> -- 
> 3 fetch 5166713 ENVELOPE
> 3 BAD Error in IMAP command FETCH: Invalid messageset (0.001 + 0.000 
> secs).
> -- 
> If I run the search in IMAP I get
>
> -- 
> 4 SEARCH HEADER Messgage-ID 
> <64jf4CStuxzUvATjBbRVP3IbJnMbEguVXzOa1OSmjIg at min.isnic.is>
> * SEARCH
> * 4465180 EXISTS
> * 88 RECENT
> 4 OK Search completed (29.674 + 0.000 + 29.523 secs).
> -- 
>

I just realised I'm misreading the return from the search. Redid it and 
this is from telnet

--
3 search header MESSAGE-ID 64jf4CStuxzUvATjBbRVP3IbJnMbEguVXzOa1OSmjIg
* SEARCH 4327049
3 OK Search completed (28.955 + 0.000 + 28.837 secs).
--

Same search from command line

--
doveadm search -u hostmasterlog mailbox INBOX HEADER MESSAGE-ID 
64jf4CStuxzUvATjBbRVP3IbJnMbEguVXzOa1OSmjIg
c92f64f79f0d1ed01e6d5b314f04886c 5166713
--

.einar


More information about the dovecot mailing list