Re: [Evolution] spamassassin & contacts



On Mon, 2003-03-24 at 20:00, HvR wrote:
all of these python script fail on my system:

Traceback (innermost last):
  File "exportcontacts.py", line 8, in ?
    db = bsddb.hashopen(dbname, 'r')
bsddb.error: (22, 'Invalid argument')

any idea why?

What version of python do you have installed (just type 'python -V' at a
shell prompt)?


On Mon, 2003-03-24 at 14:07, Cliff Wells wrote: 
On Mon, 2003-03-24 at 13:53, Michael A. Peters wrote:
On Mon, 2003-03-24 at 13:26, Cliff Wells wrote:
Okay, here's a modified version that can be used one of two ways, either
as a way to dump the email addresses from the Evo contact database, or
as a filter.

1. Dump email addresses:
     whitelist.py > whitelist.txt

2. As a filter:
     whitelist.py person address  
     returns 0 if not in contacts or non-zero if person address is 
     in contacts.

Hey - that's cool! That's perfect. Thanks!

Thanks, but not quite ;)  Here's a better version that will compare
against alternate email addresses as well.  Other than that, it works
the same.
-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308




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