On Sun, 2008-12-28 at 16:11 -0700, Sean wrote: > Hi, > Can't seem to find any examples or docs for the keyword to use in an > expression for a search folder to match for certain folders. I would > like to create an expression that looks only in certain folders > depending on some naming convention. Is this possible? > > Something like: > > (match-all (and (header-exists "x-camel-mlist") > (not (system-flag "Seen")) > (FOLDER NAME STARTS WITH XXX))) > > or > > (match-all (and (header-exists "x-camel-mlist") > (not (system-flag "Seen")) > (FOLDER NAME IS NOT Inbox/Lists/Archive))) > > Thanks for any tips!
Hi, you cannot query for folder name at the moment. You can look for X-Evolution-Source header to check from which account you got the mail, but I believe it's not enough for your needs. I tried to add something called "message-location" in http://bugzilla.gnome.org/show_bug.cgi?id=565376 It should probably work in the expressions too, once it'll be accepted and committed to sources. Bye, Milan _______________________________________________ Evolution-list mailing list Evolution-list@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-list