> is there any way to set up a filter to delete any mail where the sender
> is NOT in the address book?

Additionally to Jeff's answer... ;-)

There is no built-in filter to match against your address books, but
this actually is possibly by using an external app. That app needs to
know about your address books, and should be called from a filter by the
Pipe to Programm condition. Based on the exit code of that app, your
filter can decide what to do about the mail.

Now, what "external app" am I talking about? ;-)  Someone [1] already
posted a script (Python, IIRC) a few times on this list, to read in your
address book and exit with a value that indicates whether the sender of
the mail is in your address book. You should be able to find this one
searching the archives...

Note though, that this may be a very risky thing to do. At least the
automatic deletion of mails -- moving them would be more appropriate
IMHO. As a means of fighting Spam, I'd sure not consider this strict
"deletion" policy.

...guenther


[1] Sorry dude, don't recall OTOH...

-- 
char *t="[EMAIL PROTECTED]";
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; }}}

_______________________________________________
Evolution-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to