[code] Converter AddressBook to SpamAssassin user_prefs (python)

This small script takes the content of Apple AddressBook
and create a whitelist format of spamassassin. If the
person has multilple addresses there will be one line by
address. For example

whitelist_from  karl@example.net     #Karl Dubost
whitelist_from  karl@example.org     #Karl Dubost
whitelist_from  cow@example.com      #Marguerite


"""
ab2sa.py

Script for converting an Apple
AddressBook to a whitelist for
including in spam assassin user_prefs file

Requires pyObjc

Created by Karl Dubost on 2007-05-29.
Inspired from Neil Martinsen-Burrell's script ab2alias.py
W3CŪ SOFTWARE LICENSE
see http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
"""
-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Tuesday, 29 May 2007 02:23:16 UTC