"Humdinger" <humdingerb@xxxxxxxxxxxxxx> wrote: > -- Axel Dörfler, on Tue, 17 Nov 2009 10:33:38 +0100: > > That's strange. Have you tried searching by MAIL:Status? It should > > be > > either "Pending" or "Error". Maybe you can then find out what's > > wrong. > BTW, why does this query return all kinds of statussed emails: > > ((((MAIL:status!="[rR][eE][aA][dD]")||(MAIL:status! > ="[sS][eE][nN][tT]"))||(MAIL:status! > ="[rR][eE][pP][lL][iI][eE][dD]"))&&(BEOS:TYPE=="text/x-email")) > > I wanted to get all that are not read or sent or replied, but I get > those too in the results. Because you should work on your logical skills ;-) You would want to replace the "||" with "&&" and it should work. BTW, maybe the MAIL:status field was already updated, how about "MAIL: flags=1||MAIL:flags=5"? (the BEOS:TYPE can usually be omitted in a query, since only mails should have those attributes, anyway) Bye, Axel.