From: Jonathan A. <jo...@sq...> - 2006-01-18 17:51:15
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Michael, On Wednesday, January 18, 2006, Michael wrote: > Steve Sobel wrote: >> I am not a developer, but my initial instinct would be that the question >> mark in the query is causing problems. Try manually running that query >> with just the {5} what ... no question mark. >> >> I'm hazarding a wild guess here, but I would think that's it, given the >> error message. Not sure if a ? has to be escaped out somehow, or is >> wholly illegal as part of a search string. My memory of IMAP commands is >> kinda poor at the moment. > Yeah that was one of my thoughts too, but removing the ? made no differen= ce > 567 SEARCH CHARSET US-ASCII ALL UNDELETED Subject {5} what > 567 BAD Bogus criteria list in SEARCH Try doing it like this instead: A01 UID SEARCH CHARSET US-ASCII ALL UNDELETED SUBJECT {4} Server should respond something like: + OK Then finally do: what Then hit enter. There was two mistakes... The word "what" is 4 letters, if you wanted to include the ? that makes it 5, however the IMAP specs say literal use requires you to wait for the server to tell you to continue. That occurs after you tell it how many characters you're going to give it (the {4} bit). This is a bug in the filters plugin I mentioned a while ago, just not had a chance to fix it, and was hoping somebody else might have taken a look after I mentioned it a while ago. - -- Jonathan Angliss <jo...@sq...> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iD8DBQFDzoAEK4PoFPj9H3MRAuP5AKC+fOIhffp8tr4kb+okB6Gx041X6ACgr+3Q 2bTb+TKnxDVl3tHI3naQxiQ=3D =3DFu+8 -----END PGP SIGNATURE----- |