Re: [Evolution] Excluding spam from unread virtual folder



I have a rather bushy tree of imap folders - any of which can be
delivered into directly, spread over a couple of servers.

To make it easier to read through current stuff I use an "Unread"
virtual folder - ie "Status is not Read over all active remote folders".

However this means I get to see all the SpamAssassin tagged spam which
is hitting a couple of explicit spam folders.

Is there a way I can use an expression to either:-
      * Exclude a small number of folders from the ones used as sources
        (listing the ones I want to be included is not an option with a
        couple of hundred folders in total).
      * Exclude messages with an appropriate header setting - ie not
        matching X-Spam-Flag: YES

Unfortunately you cannot have vFolders filter on arbitrary headers like
X-Spam-Status for performance reasons.

So you are limited to the criteria offered by the drop down list. You
sure can exclude mails (like your SPAM) if you find some common criteria
that is unique to this set.

Some quick ideas:
- "Message Body" "does not contain" <text of default SA intro>
- Score or Label criteria, if you use special ones for SPAM

HTH

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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