[Evolution] Filtering on contacts



I've been looking for a way to filter out if an email is from someone in
my addressbook.

I've put together a little shellscript which I filter the message thru
that extracts the email address of the sender (the return-path) and
checks to see if it is in
~/evolution/local/Contacts/addressbook.db.summary.

If so it drops the email in my Inbox and stops processing. 

So far it seems to work pretty well. I would not, however describe it as
an elegant solution, more of a proof-of-concept.

Can anyone point to info on accessing the addressbook.db directly from a
'c' program. Seems like a better solution would be to build this
functionality as an exe which I could call, much as I call bogofilter.

Thanks
John

-- 
John Harlow, President BravePoint
jharlow BravePoint com
Voice: (770)449-9696         Fax: (770) 449-9003
www.BravePoint.com Progress,Web and Java Specialists




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