[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"elmo-imap416 BAD UID SEARCH invalid argument" upon updating summary



One other problem, although this is relatively minor. When I open the inbox summary buffer, and after any 's' (sync), I get this in the messages buffer:

elmo-imap4-accept-ok: IMAP error: UID SEARCH invalid argument

The messages have already been synced and I can read them, so this isn't critical. But, it breaks navigating directly to a message from an org-mode link (which is the main reason why I went to the effort to set WL up again). Apparently it's supposed to jump to the right message sometime after the UID search, but when the search fails, everything stops and it doesn't get to that later point in the execution flow.

IMAP debugging pasted below. I can see from this that we are asking for Forwarded messages. I'm not sure what this IMAP server wants to be asked instead.

Thanks :)
hjh


[11:43:36] <-- elmo-imap412 select inbox
[11:43:37] -> * 168 EXISTS
[11:43:37] -> * 0 RECENT
[11:43:37] -> * OK [UIDVALIDITY 1410166054] UID validity status
[11:43:37] -> * OK [UIDNEXT 1061] Predicted next UID
[11:43:37] -> * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
[11:43:37] -> * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
[11:43:37] -> elmo-imap412 OK [READ-WRITE] SELECT complete
*elmo-imap412* OK arrived
[11:43:37] => ((ok (read-write t)) (permanentflags ("\\*" "\\Answered" "\\Flagged" "\\Deleted" "\\Draft" "\\Seen")) (flags ("\\Answered" "\\Flagged" "\\Deleted" "\\Draft" "\\Seen")) (uidnext 1061) (uidvalidity "1410166054") (recent 0) (exists 168))
[11:43:37] -> mailbox size adjusted: nil, (168 . 0)
[11:43:37] <-- elmo-imap413 check
[11:43:37] -> elmo-imap413 OK Check completed
*elmo-imap413* OK arrived
[11:43:37] => ((ok nil))
[11:43:37] -> mailbox size adjusted: inbox, (168 . 0)
[11:43:37] <-- elmo-imap414 uid search uid 1061:* undeleted
[11:43:37] -> * SEARCH 125 143 144 149 150 155 157 158 159 164 166 169 176 181 183 187 188 197 201 204 207 215 227 229 230 259 277 278 279 282 284 291 292 293 294 303 320 321 329 342 343 375 376 442 444 447 457 458 473 480 481 484 502 547 552 553 554 570 571 572 581 583 586 588 589 597 609 621 624 627 644 645 652 658 661 663 666 667 668 669 672 681 683 688 689 690 691 692 695 697 698 700 702 709 711 713 714 717 723 724 725 728 732 735 737 738 740 741 742 743 751 753 757 759 767 771 794 806 811 830 831 832 833 834 835 836 837 840 843 844 846 847 849 854 855 856 857 858 861 863 870 893 907 908 909 913 918 919 950 960 967 969 977 979 980 981 983 986 989 1003 1007 1009 1018 1024 1044 1046 1059 1060
[11:43:37] -> elmo-imap414 OK UID SEARCH completed
*elmo-imap414* OK arrived
[11:43:37] => ((ok nil) (search (125 143 144 149 150 155 157 158 159 164 166 169 176 181 183 187 188 197 201 204 207 215 227 229 230 259 277 278 279 282 284 291 292 293 294 303 320 321 329 342 343 375 376 442 444 447 457 458 473 480 481 484 502 547 552 553 554 570 571 572 581 583 586 588 589 597 609 621 624 627 644 645 652 658 661 663 666 667 668 669 672 681 683 688 689 690 691 692 695 697 698 700 702 709 711 713 714 717 723 724 725 728 732 735 737 738 740 741 742 743 751 753 757 759 767 771 794 806 811 830 831 832 833 834 835 836 837 840 843 844 846 847 849 854 855 856 857 858 861 863 870 893 907 908 909 913 918 919 950 960 967 969 977 979 980 981 983 986 989 1003 1007 1009 1018 1024 1044 1046 1059 1060)))
[11:43:37] -> mailbox size adjusted: inbox, (168 . 0)
[11:43:37] <-- elmo-imap415 uid search flagged
[11:43:37] -> * SEARCH 125 143
[11:43:37] -> elmo-imap415 OK UID SEARCH completed
*elmo-imap415* OK arrived
[11:43:37] => ((ok nil) (search (125 143)))
[11:43:37] -> mailbox size adjusted: inbox, (168 . 0)
[11:43:37] <-- elmo-imap416 uid search keyword $Forwarded
[11:43:37] -> elmo-imap416 BAD UID SEARCH invalid argument
*elmo-imap416* BAD arrived
[11:43:37] => ((bad (nil "UID SEARCH invalid argument")))
[11:43:37] -> mailbox size adjusted: inbox, (168 . 0)